Skip to content

Commit e9286b9

Browse files
test: update test to account for new Initial parameters
1 parent 6d07e11 commit e9286b9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/symbolic_indexing_interface.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ using SciMLStructures: Tunable
2424
(odesys,), [x, y, t, ParameterIndex(Tunable(), 1), :x, :y]) ==
2525
[nothing, nothing, nothing, ParameterIndex(Tunable(), 1), nothing, nothing]
2626
@test isequal(
27-
Set(parameter_symbols(odesys)), Set([a, b, Initial(x), Initial(y), Initial(xy)]))
27+
Set(parameter_symbols(odesys)), Set([a, b, Initial(x), Initial(y), Initial(xy),
28+
Initial(D(x)), Initial(D(y)), Initial(D(xy))]))
2829
@test all(is_independent_variable.((odesys,), [t, :t]))
2930
@test all(.!is_independent_variable.((odesys,), [x, y, a, :x, :y, :a]))
3031
@test isequal(independent_variable_symbols(odesys), [t])

0 commit comments

Comments
 (0)