Skip to content

Commit 16bdaf0

Browse files
Do not set finalstep false in PERK2 step! (#1983)
1 parent 5398b22 commit 16bdaf0

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/time_integration/paired_explicit_runge_kutta/methods_PERK2.jl

-2
Original file line numberDiff line numberDiff line change
@@ -296,8 +296,6 @@ function step!(integrator::PairedExplicitRK2Integrator)
296296
t_end = last(prob.tspan)
297297
callbacks = integrator.opts.callback
298298

299-
integrator.finalstep = false
300-
301299
@assert !integrator.finalstep
302300
if isnan(integrator.dt)
303301
error("time step size `dt` is NaN")

0 commit comments

Comments
 (0)