diffrax
diffrax copied to clipboard
Safety of taking a delta t = 0 step?
If doing a manual step with an AbstractSolver is it always safe to take a step size with time difference of 0?
solver.step(..., t0, t0, ...)
Depends on the solver! One could put anything behind that interface.
As a practical matter I think all of the built-in ones for Diffrax should be safe for this (but I've not extensively tested).
If there's a minimum step size on a solver, maybe there should be a flag or attribute or property that can be checked!
solver.minimum_delta_t
Otherwise, this may even be hit with diffeqsolve if dt0 is small enough.