From d2d5f61a9b9162acbb886a57b5038d0cff8ee4c9 Mon Sep 17 00:00:00 2001 From: jClugstor Date: Thu, 12 Dec 2024 14:05:05 -0500 Subject: [PATCH] tstop aliasing --- lib/OrdinaryDiffEqCore/src/solve.jl | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/OrdinaryDiffEqCore/src/solve.jl b/lib/OrdinaryDiffEqCore/src/solve.jl index d6810cad97..a6ad0933a2 100644 --- a/lib/OrdinaryDiffEqCore/src/solve.jl +++ b/lib/OrdinaryDiffEqCore/src/solve.jl @@ -281,6 +281,12 @@ function DiffEqBase.__init( resType = typeof(res_prototype) end + if isnothing(aliases.alias_tstops) || aliases.alias_tstops + tstops = tstops + else + tstops = deepcopy(tstops) + end + if tstops isa AbstractArray || tstops isa Tuple || tstops isa Number _tstops = nothing else