diff --git a/lib/OrdinaryDiffEqCore/src/interp_func.jl b/lib/OrdinaryDiffEqCore/src/interp_func.jl index d0f991142b..36debb6883 100644 --- a/lib/OrdinaryDiffEqCore/src/interp_func.jl +++ b/lib/OrdinaryDiffEqCore/src/interp_func.jl @@ -90,6 +90,9 @@ function strip_cache(cache) if hasfield(typeof(cache), :uf) SciMLBase.@reset cache.uf = nothing end + if hasfield(typeof(cache),:args) + SciMLBase.@reset cache.args = nothing + end cache end