Commit 71305c0b authored by paulflang's avatar paulflang
Browse files

fix getInitialConcentrations

parent 1e9cdb7a
......@@ -247,7 +247,7 @@ function extractModel(mdl::VPtr)::SBML.Model
ic = nothing
if ccall(sbml(:Species_isSetInitialConcentration), Cint, (VPtr,), sp) != 0
ic = (
ccall(sbml(:Species_getInitialAmount), Cdouble, (VPtr,), sp),
ccall(sbml(:Species_getInitialConcentration), Cdouble, (VPtr,), sp),
get_optional_string(sp, :Species_getSubstanceUnits),
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment