Skip to content

Commit

Permalink
Do not set finalstep false in PERK2 step! (trixi-framework#1983)
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielDoehring authored Jun 18, 2024
1 parent 5398b22 commit 16bdaf0
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 16bdaf0

Please sign in to comment.