From 17e30a9ca99708d1aa382fe25a428b338b7d5cd9 Mon Sep 17 00:00:00 2001 From: ParamThakkar123 Date: Tue, 20 Aug 2024 18:10:01 +0530 Subject: [PATCH] Changes --- lib/OrdinaryDiffEqRosenbrock/src/rosenbrock_caches.jl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/OrdinaryDiffEqRosenbrock/src/rosenbrock_caches.jl b/lib/OrdinaryDiffEqRosenbrock/src/rosenbrock_caches.jl index c4617799da..09e5c77c02 100644 --- a/lib/OrdinaryDiffEqRosenbrock/src/rosenbrock_caches.jl +++ b/lib/OrdinaryDiffEqRosenbrock/src/rosenbrock_caches.jl @@ -76,6 +76,8 @@ get_fsalfirstlast(cache::RosenbrockCache) = (cache.fsalfirst, cache.fsallast) stage_limiter!::StageLimiter end +get_fsalfirstlast(cache::Rosenbrock23Cache) = (cache.fsalfirst, cache.fsallast) + @cache mutable struct Rosenbrock32Cache{uType, rateType, uNoUnitsType, JType, WType, TabType, TFType, UFType, F, JCType, GCType, RTolType, A, AV, StepLimiter, StageLimiter} <: RosenbrockMutableCache @@ -109,6 +111,8 @@ end stage_limiter!::StageLimiter end +get_fsalfirstlast(cache::Rosenbrock32Cache) = (cache.fsalfirst, cache.fsallast) + function alg_cache(alg::Rosenbrock23, u, rate_prototype, ::Type{uEltypeNoUnits}, ::Type{uBottomEltypeNoUnits}, ::Type{tTypeNoUnits}, uprev, uprev2, f, t, dt, reltol, p, calck,