We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e2c8e0f commit 3686f0aCopy full SHA for 3686f0a
src/cache_utils.jl
@@ -1,7 +1,7 @@
1
is_constant_cache(::OrdinaryDiffEqConstantCache) = true
2
is_constant_cache(::OrdinaryDiffEqCache) = false
3
is_constant_cache(::CompositeCache) = is_constant_cache(cache.caches[1])
4
-is_constant_cache(::DefaultCache{Cache1}) where {Cache1} = Cache1 isa OrdinaryDiffEqConstantCache
+is_constant_cache(::DefaultCache{Cache1}) where {Cache1} = Cache1 <: OrdinaryDiffEqConstantCache
5
6
function DiffEqBase.unwrap_cache(integrator::ODEIntegrator, is_stiff)
7
alg = integrator.alg
0 commit comments