Skip to content

Commit

Permalink
Changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ParamThakkar123 committed Aug 20, 2024
1 parent f7215ca commit 17e30a9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/OrdinaryDiffEqRosenbrock/src/rosenbrock_caches.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 17e30a9

Please sign in to comment.