We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9394cea commit a3a84acCopy full SHA for a3a84ac
src/utils.jl
@@ -585,9 +585,9 @@ end
585
586
function get_substitutions_and_solved_states(sys; no_postprocess = false)
587
#Inject substitutions for constants => values
588
- cs = collect_constants([sys.eqs; sys.observed]) #ctrls? what else?
+ cs = collect_constants([get_eqs(sys); get_observed(sys)]) #ctrls? what else?
589
if !empty_substitutions(sys)
590
- cs = [cs; collect_constants(sys.substitutions.subs)]
+ cs = [cs; collect_constants(get_substitutions(sys).subs)]
591
end
592
# Swap constants for their values
593
cmap = map(x -> x ~ getdefault(x), cs)
0 commit comments