Skip to content

Commit

Permalink
Do not set finalstep false in PERK2 step!
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielDoehring authored Jun 17, 2024
1 parent 5398b22 commit 7ceceb3
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -296,8 +296,6 @@ function step!(integrator::PairedExplicitRK2Integrator)
t_end = last(prob.tspan)
callbacks = integrator.opts.callback

integrator.finalstep = false

@assert !integrator.finalstep
if isnan(integrator.dt)
error("time step size `dt` is NaN")
Expand Down

0 comments on commit 7ceceb3

Please sign in to comment.