Skip to content

Commit ef742e5

Browse files
committed
Remove test reliance on type-mismatching array constructor.
1 parent 276c907 commit ef742e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/private.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ function private_testsuite(backend, ArrayT)
8383
synchronize(backend())
8484
@test all(Array(B))
8585

86-
A = ArrayT{Float32}(ones(64, 3));
86+
A = ArrayT(ones(Float32, 64, 3))
8787
out = ArrayT{Float32}(undef, 64)
8888
reduce_private(backend(), 8)(out, A, ndrange = size(out))
8989
synchronize(backend())

0 commit comments

Comments
 (0)