Skip to content

Commit b022d6c

Browse files
Merge pull request #58 from SciML/retcode
update retcodes to ReturnCode
2 parents 81e26f0 + 6b687d7 commit b022d6c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/solve.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -510,7 +510,7 @@ function DiffEqBase.solve!(integrator::SDDEIntegrator)
510510
@inbounds while !isempty(integrator.opts.tstops)
511511
while integrator.tdir * integrator.t < first(integrator.opts.tstops)
512512
loopheader!(integrator)
513-
if DiffEqBase.check_error!(integrator) != :Success
513+
if DiffEqBase.check_error!(integrator) != ReturnCode.Success
514514
return integrator.sol
515515
end
516516
StochasticDiffEq.perform_step!(integrator, integrator.cache)
@@ -534,7 +534,7 @@ function DiffEqBase.solve!(integrator::SDDEIntegrator)
534534
if integrator.sol.retcode != :Default
535535
return integrator.sol
536536
end
537-
integrator.sol = DiffEqBase.solution_new_retcode(integrator.sol, :Success)
537+
integrator.sol = DiffEqBase.solution_new_retcode(integrator.sol, ReturnCode.Success)
538538
end
539539

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

0 commit comments

Comments
 (0)