Skip to content

Commit

Permalink
Replace np.product with np.prod
Browse files Browse the repository at this point in the history
  • Loading branch information
rly authored Nov 22, 2024
1 parent 70c445c commit 527871f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nwbinspector/checks/_tables.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ def check_column_binary_capability(
["hit", "miss"],
]
if any([set(parsed_unique_values) == set(pair) for pair in pairs_to_check]): # type: ignore
saved_bytes = (unique_values.dtype.itemsize - 1) * np.product(
saved_bytes = (unique_values.dtype.itemsize - 1) * np.prod(
get_data_shape(data=column.data, strict_no_data_load=True)
)
if unique_values.dtype == "float":
Expand Down

0 comments on commit 527871f

Please sign in to comment.