Skip to content

Commit

Permalink
JuliaFormat leftovers
Browse files Browse the repository at this point in the history
  • Loading branch information
exaexa committed Aug 18, 2021
1 parent 7e7a196 commit 3c0c642
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ function get_unit(u::VPtr)
exponent = ccall(sbml(:Unit_getExponent), Cint, (VPtr,), u)
# See page 44 of
# http://sbml.org/Special/specifications/sbml-level-3/version-2/core/release-2/sbml-level-3-version-2-release-2-core.pdf
return (multiplier * unit * exp10(scale)) ^ exponent
return (multiplier * unit * exp10(scale))^exponent
end

# Get `Unitful` quantity out of a `UnitDefinition_t`.
Expand Down

0 comments on commit 3c0c642

Please sign in to comment.