Skip to content

Commit 8e30ac6

Browse files
committed
fix event test
1 parent 42c1e0f commit 8e30ac6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/model_parsing.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ end
350350
u0 = [model.x => 10, model.y => 0, model.z => 0]
351351

352352
prob = ODEProblem(model, u0, (0, 5.0))
353-
sol = solve(prob, tstops = [1.5])
353+
sol = solve(prob, Tsit5(), tstops = [1.5])
354354

355355
@test isequal(sol[model.y][end], 1.0)
356356
@test isequal(sol[model.z][end], 2.0)
@@ -568,4 +568,4 @@ end
568568

569569
@test Equation[ternary_true.ternary_parameter_true ~ 0] == equations(ternary_true)
570570
@test Equation[ternary_false.ternary_parameter_false ~ 0] == equations(ternary_false)
571-
end
571+
end

0 commit comments

Comments
 (0)