Skip to content

Commit a4dc90d

Browse files
committed
use unknows instead of get_variables in rules.jl
1 parent c3f60e8 commit a4dc90d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/rules.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,11 @@ sbml, _, _ = SBMLToolkitTestSuite.read_case("00033")
6464
m = readmodel(sbml)
6565
@named sys = ODESystem(m)
6666
@species k1(IV)
67-
@test isequal(k1, get_variables(sys)[end])
67+
@test isequal(k1, unknowns(sys)[end])
6868

6969
# tests that non-constant compartments become variables
7070
sbml, _, _ = SBMLToolkitTestSuite.read_case("00051") # hOSU="true" species
7171
m = readmodel(sbml)
7272
@named sys = ODESystem(m)
7373
@species C(IV)
74-
@test isequal(C, get_variables(sys)[end])
74+
@test isequal(C, unknowns(sys)[end])

0 commit comments

Comments
 (0)