From 6c3bbf2f02aa7d5573574a72e120350dd9c6f45a Mon Sep 17 00:00:00 2001 From: Aayush Sabharwal Date: Tue, 12 Nov 2024 13:42:10 +0530 Subject: [PATCH] feat: implement `SciMLBase.allows_late_binding_tstops` --- lib/OrdinaryDiffEqCore/src/alg_utils.jl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/OrdinaryDiffEqCore/src/alg_utils.jl b/lib/OrdinaryDiffEqCore/src/alg_utils.jl index 5d144fcfae..d5f89349d6 100644 --- a/lib/OrdinaryDiffEqCore/src/alg_utils.jl +++ b/lib/OrdinaryDiffEqCore/src/alg_utils.jl @@ -17,6 +17,9 @@ end SciMLBase.forwarddiffs_model_time(alg::RosenbrockAlgorithm) = true +SciMLBase.allows_late_binding_tstops(::OrdinaryDiffEqAlgorithm) = true +SciMLBase.allows_late_binding_tstops(::DAEAlgorithm) = true + # isadaptive is defined below. ## OrdinaryDiffEq Internal Traits