Skip to content

Commit 1ad8dad

Browse files
committed
int
1 parent 22d00ca commit 1ad8dad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

diffrax/_integrate.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -187,10 +187,10 @@ def _check(term_cls, term, term_contr_kwargs, yi):
187187
contr = ft.partial(term.contr, **term_contr_kwargs)
188188
# Work around https://github.com/google/jax/issues/21825
189189
try:
190-
control_type = eqx.filter_eval_shape(contr, t, t)
190+
control_type, path_type = eqx.filter_eval_shape(contr, t, t)
191191
except Exception as e:
192192
raise ValueError(f"Error while tracing {term}.contr: " + str(e))
193-
control_type_compatible = eqx.filter_eval_shape(
193+
control_type_compatible, path_type_expected = eqx.filter_eval_shape(
194194
better_isinstance, control_type, control_type_expected
195195
)
196196
if not control_type_compatible:

0 commit comments

Comments
 (0)