From bf51ea11f00143f3a422a5dac21d8ed8b82aac08 Mon Sep 17 00:00:00 2001 From: jClugstor Date: Thu, 3 Oct 2024 12:26:38 -0400 Subject: [PATCH] nothing args --- lib/OrdinaryDiffEqCore/src/interp_func.jl | 3 +++ 1 file changed, 3 insertions(+) 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