Skip to content

Commit b8f1fd4

Browse files
committed
Set change_t_via_interpolation! to use the init mode from the callback
1 parent 9de748d commit b8f1fd4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/callbacks.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -558,7 +558,7 @@ function apply_callback!(integrator,
558558
integrator.tdir * callback.dtrelax * integrator.dt))
559559
end
560560

561-
change_t_via_interpolation!(integrator, integrator.tprev + cb_time)
561+
change_t_via_interpolation!(integrator, integrator.tprev + cb_time, Val{:false}, callback.initializealg)
562562

563563
# handle saveat
564564
_, savedexactly = savevalues!(integrator)

0 commit comments

Comments
 (0)