Skip to content

Commit 11bede8

Browse files
committed
Fix test on GPU
1 parent 0d11eec commit 11bede8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_basics.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -717,7 +717,7 @@ arrayts = (Array, JLArray)
717717
a[Block(1, 1)] = dev(randn(elt, 2, 2))
718718
a[Block(2, 2)] = dev(randn(elt, 3, 3))
719719
I = ([3, 5], [2, 4])
720-
@test a[I...] == Array(a)[I...]
720+
@test Array(a[I...]) == Array(a)[I...]
721721

722722
a = BlockSparseArray{elt}(undef, [2, 3], [2, 3])
723723
@views for b in [Block(1, 1), Block(2, 2)]

0 commit comments

Comments
 (0)