Skip to content

Commit a76a1e4

Browse files
committed
Fix #522
1 parent 3816b86 commit a76a1e4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

bench/ndarray/concatenate.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -267,9 +267,9 @@ def main():
267267

268268
# Quick verification of result shape
269269
if axis == 0:
270-
expected_shape = (size, size) # After concatenation along axis 0
270+
expected_shape = (size // num_arrays * num_arrays, size) # After concatenation along axis 0
271271
else:
272-
expected_shape = (size, size) # After concatenation along axis 1
272+
expected_shape = (size, size // num_arrays * num_arrays) # After concatenation along axis 1
273273

274274
# Verify shapes match
275275
shapes = [numpy_shape, shape1, shape2]

0 commit comments

Comments
 (0)