Skip to content

Commit 781b68f

Browse files
committed
update
1 parent 44bbf38 commit 781b68f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Catalyst.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import Symbolics: BasicSymbolic
2626
using Symbolics: iscall, sorted_arguments
2727
using ModelingToolkit: Symbolic, value, get_unknowns, get_ps, get_iv, get_systems,
2828
get_eqs, get_defaults, toparam, get_var_to_name, get_observed,
29-
getvar
29+
getvar, has_iv
3030

3131
import ModelingToolkit: get_variables, namespace_expr, namespace_equation, get_variables!,
3232
modified_unknowns!, validate, namespace_variables,

src/reactionsystem.jl

+2-2
Original file line numberDiff line numberDiff line change
@@ -1415,9 +1415,9 @@ function ModelingToolkit.compose(sys::ReactionSystem, systems::AbstractArray; na
14151415
@set! sys.systems = [get_systems(sys); systems]
14161416
newunknowns = OrderedSet{BasicSymbolic{Real}}()
14171417
newparams = OrderedSet()
1418-
iv = MT.has_iv(sys) ? MT.get_iv(sys) : nothing
1418+
iv = has_iv(sys) ? get_iv(sys) : nothing
14191419
for ssys in systems
1420-
collect_scoped_vars!(newunknowns, newparams, ssys, iv)
1420+
MT.collect_scoped_vars!(newunknowns, newparams, ssys, iv)
14211421
end
14221422

14231423
if !isempty(newunknowns)

0 commit comments

Comments
 (0)