Skip to content

Commit

Permalink
test: fix test to new SciMLBase error message
Browse files Browse the repository at this point in the history
  • Loading branch information
AayushSabharwal committed Dec 4, 2024
1 parent 52eba50 commit 24d39af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/symbolic_events.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1063,7 +1063,7 @@ end
cb = [x ~ 0.0] => [x ~ 0, y ~ 1]
@mtkbuild pend = ODESystem(eqs, t; continuous_events = [cb])
prob = ODEProblem(pend, [x => 1], (0.0, 3.0), guesses = [y => x])
@test_throws "CheckInit specified but initialization" solve(prob, Rodas5())
@test_throws "DAE initialization failed" solve(prob, Rodas5())

cb = [x ~ 0.0] => [y ~ 1]
@mtkbuild pend = ODESystem(eqs, t; continuous_events = [cb])
Expand Down

0 comments on commit 24d39af

Please sign in to comment.