We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1730a0b commit 8d59058Copy full SHA for 8d59058
diffrax/_integrate.py
@@ -115,9 +115,9 @@ class State(eqx.Module):
115
#
116
# Information for reversible adjoint (save ts)
117
118
- reversible_init_ts: Optional[PyTree[FloatScalarLike]]
119
- reversible_ts: Optional[eqxi.MaybeBuffer[Float[Array, " times_plus_1"]]]
120
- reversible_save_index: Optional[IntScalarLike]
+ reversible_init_ts: PyTree[FloatScalarLike] | None
+ reversible_ts: eqxi.MaybeBuffer[Float[Array, " times_plus_1"]] | None
+ reversible_save_index: IntScalarLike | None
121
122
123
def _is_none(x: Any) -> bool:
0 commit comments