Skip to content

Commit 4f65e32

Browse files
author
Luke Shaw
committed
Fix incorrect appending of dim to computed reductions
1 parent f5a3989 commit 4f65e32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/ndarray/test_reductions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ def test_save_constructor_reduce2(shape, disk, compute):
423423
def test_reduction_index():
424424
shape = (20, 20)
425425
a = blosc2.linspace(0, 20, num=np.prod(shape), shape=shape)
426-
arr = blosc2.lazyexpr('sum(a,axis=0)', {'a': a})
426+
arr = blosc2.lazyexpr("sum(a,axis=0)", {"a": a})
427427
newarr = arr.compute()
428428
assert arr[:10].shape == (10,)
429429
assert arr[0].shape == (1,)

0 commit comments

Comments
 (0)