Skip to content

Commit a3a84ac

Browse files
committed
Fixing deprecated access.
1 parent 9394cea commit a3a84ac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/utils.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -585,9 +585,9 @@ end
585585

586586
function get_substitutions_and_solved_states(sys; no_postprocess = false)
587587
#Inject substitutions for constants => values
588-
cs = collect_constants([sys.eqs; sys.observed]) #ctrls? what else?
588+
cs = collect_constants([get_eqs(sys); get_observed(sys)]) #ctrls? what else?
589589
if !empty_substitutions(sys)
590-
cs = [cs; collect_constants(sys.substitutions.subs)]
590+
cs = [cs; collect_constants(get_substitutions(sys).subs)]
591591
end
592592
# Swap constants for their values
593593
cmap = map(x -> x ~ getdefault(x), cs)

0 commit comments

Comments
 (0)