Skip to content

Commit

Permalink
update retcode from symbol
Browse files Browse the repository at this point in the history
  • Loading branch information
kaitlyn-loftus committed Apr 18, 2024
1 parent 7997eda commit 4ea7400
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/integrators/interface.jl
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ function DiffEqBase.last_step_failed(integrator::DDEIntegrator)
end

# terminate integration
function DiffEqBase.terminate!(integrator::DDEIntegrator, retcode = :Terminated)
function DiffEqBase.terminate!(integrator::DDEIntegrator, retcode = ReturnCode.Terminated)

Check warning on line 259 in src/integrators/interface.jl

View check run for this annotation

Codecov / codecov/patch

src/integrators/interface.jl#L259

Added line #L259 was not covered by tests
integrator.sol = DiffEqBase.solution_new_retcode(integrator.sol, retcode)
integrator.opts.tstops.valtree = typeof(integrator.opts.tstops.valtree)()
nothing
Expand Down

0 comments on commit 4ea7400

Please sign in to comment.