Skip to content

Commit 797b626

Browse files
mcabbottoxinabox
authored andcommitted
skip
1 parent 067ad5c commit 797b626

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/projection.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ using OffsetArrays, BenchmarkTools
110110
@test padj_complex(adjoint([4, 5, 6+7im])) == [4 5 6-7im]
111111

112112
# evil test case
113+
if VERSION >= v"1.7-" # up to 1.6 Vector[[1,2,3]]' is an error, not sure why it's called
113114
xs = adj(Any[Any[1,2,3], Any[4+im,5-im,6+im,7-im]])
114115
pvecvec3 = ProjectTo(xs)
115116
@test pvecvec3(xs)[1] == [1 2 3]
@@ -127,6 +128,7 @@ using OffsetArrays, BenchmarkTools
127128
@test pvecmat(zs) == zs
128129
@test pvecmat(collect.(zs)) == zs
129130
@test pvecmat(collect.(zs)) isa LinearAlgebra.AdjOrTransAbsVec
131+
end
130132
end
131133

132134
@testset "LinearAlgebra: dense structured matrices" begin

0 commit comments

Comments
 (0)