Skip to content

Commit

Permalink
Merge pull request #2483 from jClugstor/cache_strip_fix
Browse files Browse the repository at this point in the history
Set `args` to nothing in cache stripping
  • Loading branch information
ChrisRackauckas authored Oct 5, 2024
2 parents 90ba736 + bf51ea1 commit 457611c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/OrdinaryDiffEqCore/src/interp_func.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 457611c

Please sign in to comment.