Skip to content

Commit 21298b9

Browse files
TorkelEisaacsas
andauthored
Update test/reactionsystem_core/reactionsystem.jl
Co-authored-by: Sam Isaacson <[email protected]>
1 parent cb5ee42 commit 21298b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/reactionsystem_core/reactionsystem.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,7 @@ let
465465
@test all(eq -> eq isa Reaction, ModelingToolkit.get_eqs(rs)[1:4])
466466
osys = complete(convert(ODESystem, rs))
467467
@test issetequal(MT.get_unknowns(osys), [B, C, D, E])
468-
_ps = filter(x -> !iscall(x) || !(operation(x) isa Initial), MT.get_ps(osys))
468+
_ps = filter(!isinitial, MT.get_ps(osys))
469469
@test issetequal(_ps, [k1, k2, A])
470470

471471
# test nonlinear systems

0 commit comments

Comments
 (0)