Skip to content

Commit 8d59058

Browse files
committed
to syntax
1 parent 1730a0b commit 8d59058

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

diffrax/_integrate.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,9 +115,9 @@ class State(eqx.Module):
115115
#
116116
# Information for reversible adjoint (save ts)
117117
#
118-
reversible_init_ts: Optional[PyTree[FloatScalarLike]]
119-
reversible_ts: Optional[eqxi.MaybeBuffer[Float[Array, " times_plus_1"]]]
120-
reversible_save_index: Optional[IntScalarLike]
118+
reversible_init_ts: PyTree[FloatScalarLike] | None
119+
reversible_ts: eqxi.MaybeBuffer[Float[Array, " times_plus_1"]] | None
120+
reversible_save_index: IntScalarLike | None
121121

122122

123123
def _is_none(x: Any) -> bool:

0 commit comments

Comments
 (0)