Skip to content

Commit

Permalink
typo 2
Browse files Browse the repository at this point in the history
  • Loading branch information
oscardssmith authored Nov 15, 2023
1 parent 139e5a9 commit 41605e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/common_interface/callbacks.jl
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ times_finalize_called = 0
cb = DiscreteCallback(condition2, affect2!, finalize=(args...)->global times_finalize_called+=1)
sol = solve(prob, CVODE_BDF(); callback = cb)
@test sol.t[end] < 3.5
@test times_finalize_called = 1
@test times_finalize_called == 1

condition3(u, t, integrator) = u[2]
affect3!(integrator) = terminate!(integrator)
Expand Down

0 comments on commit 41605e4

Please sign in to comment.