From 8178c1dd3a9f56c36bbe2e2c876bb8a1612aa5a7 Mon Sep 17 00:00:00 2001 From: Benjamin Chung Date: Thu, 7 Nov 2024 16:39:38 -0800 Subject: [PATCH] Support the expanded change_t_via_interpolation! interface --- src/integrator_utils.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/integrator_utils.jl b/src/integrator_utils.jl index 6e59d0a..d502a95 100644 --- a/src/integrator_utils.jl +++ b/src/integrator_utils.jl @@ -57,7 +57,7 @@ function DiffEqBase.savevalues!(integrator::ODEInterfaceIntegrator, return saved, savedexactly end -function DiffEqBase.change_t_via_interpolation!(integrator::ODEInterfaceIntegrator, t) +function DiffEqBase.change_t_via_interpolation!(integrator::ODEInterfaceIntegrator, t, modify_save_endpoint::Type{Val{T}}=Val{false}, reinitialize_alg=nothing) where T integrator.t = t tmp = integrator(integrator.t)::Vector{Float64} if eltype(integrator.sol.u) <: Vector