Skip to content

Commit

Permalink
removed two pyright: ignore comments
Browse files Browse the repository at this point in the history
  • Loading branch information
andyElking committed May 9, 2024
1 parent 4f36bb3 commit 7b9b1e7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion diffrax/_progress_meter.py
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ def _step(_progress, _idx):
# Return the idx to thread the callbacks in the correct order.
return _idx

return jax.pure_callback(_step, idx, progress, idx, vectorized=True) # pyright: ignore
return jax.pure_callback(_step, idx, progress, idx, vectorized=True)

def close(self, close_bar: Callable[[Any], None], idx: IntScalarLike):
def _close(_idx):
Expand Down
2 changes: 1 addition & 1 deletion test/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ def _batch_sde_solve(
shape=struct,
tol=bm_tol,
key=key,
levy_area=concrete_la, # pyright: ignore
levy_area=concrete_la,
)
terms = get_terms(bm)
if controller is None:
Expand Down

0 comments on commit 7b9b1e7

Please sign in to comment.