Skip to content

Commit

Permalink
remove tests on a[:,:]
Browse files Browse the repository at this point in the history
  • Loading branch information
ogauthe committed Sep 17, 2024
1 parent 32d0f11 commit 47a9ed1
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,6 @@ const elts = (Float32, Float64, Complex{Float32}, Complex{Float64})
b = 2 * a
@test block_nstored(b) == 2
@test Array(b) == 2 * Array(a)
@test a[:, :] isa BlockSparseArray # broken in 1.6
for i in 1:2
@test axes(b, i) isa GradedUnitRangeDual
@test_broken axes(a[:, :], i) isa GradedUnitRangeDual
Expand All @@ -178,7 +177,6 @@ const elts = (Float32, Float64, Complex{Float32}, Complex{Float64})
b = 2 * a
@test block_nstored(b) == 2
@test Array(b) == 2 * Array(a)
@test a[:, :] isa BlockSparseArray # broken in 1.6
for i in 1:2
@test axes(b, i) isa GradedUnitRangeDual
@test_broken axes(a[:, :], i) isa GradedUnitRangeDual
Expand Down Expand Up @@ -227,9 +225,6 @@ const elts = (Float32, Float64, Complex{Float32}, Complex{Float64})
@test ax isa typeof(dual(r))
end

@test a[:, :] isa BlockSparseArray # broken in 1.6
@test axes(a[:, :]) isa Tuple{BlockedOneTo,BlockedOneTo} # broken in 1.6

I = [Block(1)[1:1]]
@test size(a[I, :]) == (1, 4)
@test size(a[:, I]) == (4, 1)
Expand Down

0 comments on commit 47a9ed1

Please sign in to comment.