Skip to content

Commit fd1dc5a

Browse files
Update src/cache_utils.jl
1 parent 3686f0a commit fd1dc5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cache_utils.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
is_constant_cache(::OrdinaryDiffEqConstantCache) = true
22
is_constant_cache(::OrdinaryDiffEqCache) = false
3-
is_constant_cache(::CompositeCache) = is_constant_cache(cache.caches[1])
3+
is_constant_cache(cache::CompositeCache) = is_constant_cache(cache.caches[1])
44
is_constant_cache(::DefaultCache{Cache1}) where {Cache1} = Cache1 <: OrdinaryDiffEqConstantCache
55

66
function DiffEqBase.unwrap_cache(integrator::ODEIntegrator, is_stiff)

0 commit comments

Comments
 (0)