Skip to content

Commit 9ee7c80

Browse files
committed
back compat for DelayDiffEq
1 parent 34905f1 commit 9ee7c80

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

lib/OrdinaryDiffEqCore/src/caches/basic_caches.jl

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,3 +124,13 @@ alg_cache(alg::OrdinaryDiffEqAlgorithm, prob, callback::F) where {F} = ODEEmptyC
124124

125125
get_chunksize(cache::SciMLBase.DECache) = error("This cache does not have a chunksize.")
126126
get_chunksize(cache::ODEChunkCache{CS}) where {CS} = CS
127+
128+
# For backwards compat with DelayDiffEq
129+
function alg_cache(alg, u, rate_prototype, uEltypeNoUnits,
130+
uBottomEltypeNoUnits, tTypeNoUnits, uprev, uprev2, f, t,
131+
dt, reltol, p, calck,
132+
val)
133+
134+
alg_cache(alg, u, rate_prototype, uEltypeNoUnits, uBottomEltypeNoUnits, tTypeNoUnits, uprev, uprev2, f, t,
135+
calck, val, ODEVerbosity())
136+
end

0 commit comments

Comments
 (0)