Skip to content

Commit cb8555d

Browse files
committed
Fix indexing tests.
1 parent c9ed8d9 commit cb8555d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/testsuite/indexing.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ function test_indexing(AT)
1313
end
1414
@testset "multi dim, sliced setindex" begin
1515
x = fill(AT{T}, T(0), (10, 10, 10, 10))
16-
y = rand(AT{T}, 5, 5, 10, 10)
16+
y = AT{T}(5, 5, 10, 10)
17+
rand!(y)
1718
x[2:6, 2:6, :, :] = y
1819
x[2:6, 2:6, :, :] == y
1920
end

0 commit comments

Comments
 (0)