From 3c0c6427ac705b699a88edbd15887cb948b678af Mon Sep 17 00:00:00 2001 From: Mirek Kratochvil Date: Wed, 18 Aug 2021 15:01:00 +0200 Subject: [PATCH] JuliaFormat leftovers --- src/utils.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils.jl b/src/utils.jl index b2047625..01276133 100644 --- a/src/utils.jl +++ b/src/utils.jl @@ -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`.