SciML / DiffEqCallbacks.jl

A library of useful callbacks for hybrid scientific machine learning (SciML) with augmented differential equation solvers
https://docs.sciml.ai/DiffEqCallbacks/stable/
Other
95 stars 47 forks source link

fix output callback kwarg edge cases #160

Closed visr closed 1 year ago

visr commented 1 year ago

If save_start was false, u_modified was not set to false for SavingCallback and FunctionCallingCallback. This led to a doubly saved t=0, but only when combined in a CallbackSet.

Furthermore we now properly support combining scalar saveat from #157 with excluding the start and/or end.

Test cases for both issues are included.