Skip to content

Commit 16dd6b4

Browse files
committed
Fixes for NumPy 2.0
1 parent 04ba9ca commit 16dd6b4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/matadi/__about__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.2.1"
1+
__version__ = "0.2.2"

src/matadi/_apply.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def rshape(z):
2929
parallel = ()
3030

3131
# map function `N` times on reshaped input
32-
N = np.product(ax)
32+
N = np.prod(ax)
3333
out = fun.map(N, *parallel)(*y)
3434

3535
if not isinstance(out, tuple):

0 commit comments

Comments
 (0)