Skip to content

Commit 708c4fe

Browse files
authored
add get_tmp_cache(::OrdinaryDiffEqConstantCache) to Core
1 parent b645c4c commit 708c4fe

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

lib/OrdinaryDiffEqCore/src/integrators/integrator_interface.jl

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -107,15 +107,11 @@ end
107107
get_tmp_cache(integrator::ODEIntegrator, integrator.alg, integrator.cache)
108108
end
109109

110-
# avoid method ambiguity
111-
# for typ in (Union{RadauIIA3, RadauIIA5, RadauIIA7})
112-
# @eval @inline function DiffEqBase.get_tmp_cache(integrator, alg::$typ,
113-
# cache::OrdinaryDiffEqConstantCache)
114-
# nothing
115-
# end
116-
# end
117-
118110
# the ordering of the cache arrays is important!!!
111+
@inline function DiffEqBase.get_tmp_cache(integrator, alg::OrdinaryDiffEqAlgorithm,
112+
cache::OrdinaryDiffEqConstantCache)
113+
nothing
114+
end
119115
@inline function DiffEqBase.get_tmp_cache(integrator, alg::OrdinaryDiffEqAlgorithm,
120116
cache::OrdinaryDiffEqMutableCache)
121117
(cache.tmp,)

0 commit comments

Comments
 (0)