Skip to content

Commit

Permalink
Use 1D size for random array creation
Browse files Browse the repository at this point in the history
  • Loading branch information
jni committed Jan 10, 2020
1 parent 8a6a975 commit 62c9443
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_array.py
Original file line number Diff line number Diff line change
Expand Up @@ -667,7 +667,7 @@ def test_random_int_in_range(ctx_factory, rng_class, dtype, plot_hist=False):
def test_array_method(ctx_factory):
ctx = ctx_factory()
queue = cl.CommandQueue(ctx)
arr = make_random_array(queue, np.float32, (32, 32))
arr = make_random_array(queue, np.float32, 1024)
np.testing.assert_array_equal(arr, arr.get())

def test_numpy_integer_shape(ctx_factory):
Expand Down

0 comments on commit 62c9443

Please sign in to comment.