diffrax icon indicating copy to clipboard operation
diffrax copied to clipboard

Clarification of error message

Open LuggiStruggi opened this issue 11 months ago • 1 comments

I sometimes get the error message

equinox.EquinoxRuntimeError: Terminating differential equation solve because an event occurred.

I assume that event here does not refer to diffrax.Event? Just to make sure.

Sorry might be a stupid question!

Thank you for the help!

Pretty sure its bc something is ill conditioned as it happens when checking if the solution is invertible. sol = result.error_if(sol, jnp.invert(is_okay(result)))

LuggiStruggi avatar Feb 13 '25 12:02 LuggiStruggi

Hmm that's definitely not expected. An event should be a valid reason to finish the solve, not an error condition.

Do you have a MWE?

patrick-kidger avatar Feb 13 '25 15:02 patrick-kidger