Skip to content

Commit

Permalink
Update src/conversion.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
eliascarv authored Dec 11, 2024
1 parent d4e1e42 commit de56f8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/conversion.jl
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ Find the conversion factor from unit `t` to unit `s`, e.g., `convfact(m, cm) ==
"exponents and/or SI prefixes in units"
))
end
return :($(result isa AbstractFloat ? UnitConversionFactor(result) : result))
return result isa AbstractFloat ? UnitConversionFactor(result) : result
end

"""
Expand Down

0 comments on commit de56f8c

Please sign in to comment.