From b589860d51fbd4af82633fe9870efe7d6d1e1bf2 Mon Sep 17 00:00:00 2001 From: Benjamin Chung Date: Thu, 7 Nov 2024 16:37:02 -0800 Subject: [PATCH] Support the expanded change_t_via_interpolation! interface --- src/common_interface/integrator_utils.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common_interface/integrator_utils.jl b/src/common_interface/integrator_utils.jl index c5ffa06..d0192ca 100644 --- a/src/common_interface/integrator_utils.jl +++ b/src/common_interface/integrator_utils.jl @@ -159,7 +159,7 @@ end out .= integrator.du end -function DiffEqBase.change_t_via_interpolation!(integrator::AbstractSundialsIntegrator, t) +function DiffEqBase.change_t_via_interpolation!(integrator::AbstractSundialsIntegrator, t, modify_save_endpoint::Type{Val{T}}=Val{false}, reinitialize_alg=nothing) where T integrator.t = t integrator(integrator.u, integrator.t) return nothing