Skip to content

Commit

Permalink
another one
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisRackauckas committed Oct 17, 2022
1 parent 1ccfd26 commit 5c1f887
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "Sundials"
uuid = "c3572dad-4567-51f8-b174-8c6c989267f4"
authors = ["Chris Rackauckas <[email protected]>"]
version = "4.10.2"
version = "4.10.3"

[deps]
CEnum = "fa961155-64e5-5f13-b03f-caf6b980ea82"
Expand Down
2 changes: 1 addition & 1 deletion test/common_interface/iterators.jl
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ terminate_if_u_pos = DiscreteCallback(u_positive, terminate!)
prob = ODEProblem(f_terminate, [1.0], (0.0, 1.0)) # positive initial condition > positive u > :Terminated
integrator = init(prob, CVODE_BDF(); callback = terminate_if_u_pos)
sol1 = solve!(integrator)
@test sol1.retcode === :Terminated
@test sol1.retcode == :Terminated

reinit!(integrator, [-1.0]) # negative initial condition > negative u > :Success!
sol2 = solve!(integrator)
Expand Down

0 comments on commit 5c1f887

Please sign in to comment.