Skip to content

Commit 8ce8a8c

Browse files
committed
disable svd kwarg const-prop test on v1.6 and later
1 parent b0bbbcb commit 8ce8a8c

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

test/svd.jl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,12 @@ using StaticArrays, Test, LinearAlgebra
7171
@testinf svd(m_sing2'; full=Val(true)) \ v2 svd(Matrix(m_sing2'); full=true) \ Vector(v2)
7272
@testinf svd(m_sing2; full=Val(true)) \ m23' svd(Matrix(m_sing2); full=true) \ Matrix(m23')
7373
@testinf svd(m_sing2'; full=Val(true)) \ m23 svd(Matrix(m_sing2'); full=true) \ Matrix(m23)
74-
if VERSION >= v"1.5-DEV"
74+
if v"1.6" > VERSION >= v"1.5-DEV"
7575
# Test that svd of rectangular matrix is inferred.
7676
# Note the placement of @inferred brackets is important.
7777
#
78-
# This only seems to work on >= v"1.5" due to unknown compiler improvements.
78+
# This only seems to work on v"1.5" due to unknown compiler improvements; seems
79+
# to have stopped working again on v"1.6" and later?
7980
svd_full_false(A) = svd(A, full=false)
8081
@test @inferred(svd_full_false(m_sing2)).S svd(Matrix(m_sing2)).S
8182
end

0 commit comments

Comments
 (0)