SciML / OrdinaryDiffEq.jl

High performance ordinary differential equation (ODE) and differential-algebraic equation (DAE) solvers, including neural ordinary differential equations (neural ODEs) and scientific machine learning (SciML)
https://diffeq.sciml.ai/latest/
Other
536 stars 205 forks source link

Strip `uf` and `tf` with `strip_cache` #2465

Closed jClugstor closed 3 weeks ago

jClugstor commented 3 weeks ago

Checklist

Additional context

Related to solution stripping for better serialization of Solution types. Some caches include fields tf and uf that hold function information in a field f. This makes sure that if strip_solution is called on a solution with those included, it strips them away.