Skip to content

Commit

Permalink
fix retcode
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisRackauckas committed Oct 16, 2022
1 parent c7469aa commit 8105276
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.1"
version = "4.10.2"

[deps]
CEnum = "fa961155-64e5-5f13-b03f-caf6b980ea82"
Expand Down
2 changes: 1 addition & 1 deletion src/common_interface/solve.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1540,7 +1540,7 @@ function DiffEqBase.solve!(integrator::AbstractSundialsIntegrator; early_free =
dense_errors = integrator.opts.dense_errors)
end

if integrator.sol.retcode === :Default
if integrator.sol.retcode == :Default
integrator.sol = DiffEqBase.solution_new_retcode(integrator.sol,
interpret_sundials_retcode(integrator.flag))
end
Expand Down

0 comments on commit 8105276

Please sign in to comment.