Skip to content

Commit 28afede

Browse files
test: fix test to account for MTK's Initial parameters
1 parent e379c0e commit 28afede

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/downstream/symbol_indexing.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ sol_new = DiffEqArray(sol.u[1:10],
2727
@test all(isequal.(all_variable_symbols(sol), all_variable_symbols(sol_new)))
2828
@test all(isequal.(all_variable_symbols(sol), [x, RHS]))
2929
@test all(isequal.(all_symbols(sol), all_symbols(sol_new)))
30-
@test all(isequal.(all_symbols(sol), [x, RHS, τ, t]))
30+
@test all([any(isequal(sym), all_symbols(sol)) for sym in [x, RHS, τ, t, Initial(x), Initial(RHS)]])
3131
@test sol[solvedvariables] == sol[[x]]
3232
@test sol_new[solvedvariables] == sol_new[[x]]
3333
@test sol[allvariables] == sol[[x, RHS]]

0 commit comments

Comments
 (0)