Skip to content

Commit 3686f0a

Browse files
author
Oscar Smith
authored
typo
1 parent e2c8e0f commit 3686f0a

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,7 +1,7 @@
11
is_constant_cache(::OrdinaryDiffEqConstantCache) = true
22
is_constant_cache(::OrdinaryDiffEqCache) = false
33
is_constant_cache(::CompositeCache) = is_constant_cache(cache.caches[1])
4-
is_constant_cache(::DefaultCache{Cache1}) where {Cache1} = Cache1 isa OrdinaryDiffEqConstantCache
4+
is_constant_cache(::DefaultCache{Cache1}) where {Cache1} = Cache1 <: OrdinaryDiffEqConstantCache
55

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

0 commit comments

Comments
 (0)