Skip to content

Commit 506c5be

Browse files
committed
start root finder at time of previous ode_solver_step than final ode_solver_step
1 parent aebc3dd commit 506c5be

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

diffrax/_integrate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -727,7 +727,7 @@ def _call_real_impl():
727727
_event_root_find = optx.root_find(
728728
_to_root_find,
729729
event.root_finder,
730-
y0=final_state.event_tnext,
730+
y0=final_state.event_tprev,
731731
options=_options,
732732
throw=False,
733733
)

0 commit comments

Comments
 (0)