SciML / DiffEqBase.jl

The lightweight Base library for shared types and functionality for defining differential equation and scientific machine learning (SciML) problems
Other
311 stars 111 forks source link

use Enzyme make_zero #1054

Closed m-bossart closed 4 months ago

m-bossart commented 4 months ago

Uses Enzyme's make_zero util instead of manually zeroing out the derivative variable. Needed for SciML/NonlinearSolve.jl#439 to make the Enzyme rule compatible with NonlinearProblem