From fac1dc23b82cb49cb050444149e61a7e7284fb0a Mon Sep 17 00:00:00 2001 From: Sam Isaacson Date: Tue, 26 Mar 2024 13:13:41 -0400 Subject: [PATCH] use parameter_values --- src/problem.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/problem.jl b/src/problem.jl index 016570c4..0176422c 100644 --- a/src/problem.jl +++ b/src/problem.jl @@ -127,7 +127,7 @@ end # for updating parameters in JumpProblems to update MassActionJumps function SII.finalize_parameters_hook!(prob::JumpProblem, p) if using_params(prob.massaction_jump) - update_parameters!(prob.massaction_jump, prob.prob.p) + update_parameters!(prob.massaction_jump, SII.parameter_values(prob)) end nothing end