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
521 stars 198 forks source link

Allocate less in `estimate_terk` #2232

Closed chriselrod closed 1 month ago

chriselrod commented 1 month ago

Why allocate so much?

If we have a reason, those should be explicitly documented/commented, because that means we have spooky interactions at a distance. Documenting those spooky interactions would make them slightly less scary, even though they'd still be pretty bad.