Skip to content

Commit f6aab6d

Browse files
Merge pull request #1102 from BenChung/use-configurable-init
Set change_t_via_interpolation! to use the init mode from the callback
2 parents 9de748d + ed18a42 commit f6aab6d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/callbacks.jl

+2-1
Original file line numberDiff line numberDiff line change
@@ -558,7 +558,8 @@ 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!(
562+
integrator, integrator.tprev + cb_time, Val{:false}, callback.initializealg)
562563

563564
# handle saveat
564565
_, savedexactly = savevalues!(integrator)

0 commit comments

Comments
 (0)