Skip to content

Commit 78791f2

Browse files
test: account for Initial parameters in test
1 parent 5216889 commit 78791f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/downstream/solution_interface.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ end
215215
@test sol[x] == xvals
216216
@test is_parameter(sol, p)
217217
@test parameter_index(sol, p) == parameter_index(sys, p)
218-
@test isequal(only(parameter_symbols(sol)), p)
218+
@test any(isequal(p), parameter_symbols(sol))
219219
@test is_independent_variable(sol, t)
220220

221221
tmp = copy(prob.u0)

0 commit comments

Comments
 (0)