Skip to content

Commit

Permalink
fix: numpy version
Browse files Browse the repository at this point in the history
  • Loading branch information
ianna committed Aug 19, 2024
1 parent 198622b commit 31a6799
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ragged/_helper_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

def regularise_to_float(t: np.dtype, /) -> np.dtype:
# Ensure compatibility with numpy 2.0.0
if np.__version__ != "2.0.0":
if np.__version__ >= "2.1":
# Just pass and return the input type if the numpy version is not 2.0.0
return t

Expand Down

0 comments on commit 31a6799

Please sign in to comment.