Skip to content

Commit

Permalink
use parameter_values
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacsas committed Mar 26, 2024
1 parent 902e2fc commit fac1dc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/problem.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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

Check warning on line 132 in src/problem.jl

View check run for this annotation

Codecov / codecov/patch

src/problem.jl#L132

Added line #L132 was not covered by tests
end
Expand Down

0 comments on commit fac1dc2

Please sign in to comment.