We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4125ff2 commit 747acfeCopy full SHA for 747acfe
test/test_basics.jl
@@ -1172,11 +1172,11 @@ arrayts = (Array, JLArray)
1172
@test isstored(a)
1173
@test isone(blockstoredlength(a))
1174
@test issetequal(eachblockstoredindex(a), [Block()])
1175
- @test iszero(a)
+ @test iszero(adapt(Array)(a))
1176
@test b isa arrayt{elt,0}
1177
@test size(b) == ()
1178
# Converting to `Array` works around a bug in `iszero(JLArray{Float64}(undef))`.
1179
- @test iszero(Array(b))
+ @test iszero(adapt(Array)(b))
1180
end
1181
1182
@testset "LinearAlgebra" begin
0 commit comments