Skip to content

Commit

Permalink
Merge 6b687d7 into 81e26f0
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisRackauckas authored Nov 10, 2022
2 parents 81e26f0 + 6b687d7 commit 5d67b66
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/solve.jl
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,7 @@ function DiffEqBase.solve!(integrator::SDDEIntegrator)
@inbounds while !isempty(integrator.opts.tstops)
while integrator.tdir * integrator.t < first(integrator.opts.tstops)
loopheader!(integrator)
if DiffEqBase.check_error!(integrator) != :Success
if DiffEqBase.check_error!(integrator) != ReturnCode.Success
return integrator.sol
end
StochasticDiffEq.perform_step!(integrator, integrator.cache)
Expand All @@ -534,7 +534,7 @@ function DiffEqBase.solve!(integrator::SDDEIntegrator)
if integrator.sol.retcode != :Default
return integrator.sol
end
integrator.sol = DiffEqBase.solution_new_retcode(integrator.sol, :Success)
integrator.sol = DiffEqBase.solution_new_retcode(integrator.sol, ReturnCode.Success)
end

# function StochasticDiffEq.tstop_saveat_disc_handling(tstops, saveat, d_discontinuities, tspan)
Expand Down

0 comments on commit 5d67b66

Please sign in to comment.