Skip to content

Commit 2e4ee62

Browse files
committed
Use 1D size for random array creation
1 parent b12f128 commit 2e4ee62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_array.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -667,7 +667,7 @@ def test_random_int_in_range(ctx_factory, rng_class, dtype, plot_hist=False):
667667
def test_array_method(ctx_factory):
668668
ctx = ctx_factory()
669669
queue = cl.CommandQueue(ctx)
670-
arr = make_random_array(queue, np.float32, (32, 32))
670+
arr = make_random_array(queue, np.float32, 1024)
671671
np.testing.assert_array_equal(arr, arr.get())
672672

673673
def test_numpy_integer_shape(ctx_factory):

0 commit comments

Comments
 (0)