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 2fea65e commit 545d307Copy full SHA for 545d307
test/lapack.jl
@@ -687,11 +687,7 @@ end
687
@testset for elty in (Float32, Float64, ComplexF32, ComplexF64)
688
local n = 10
689
a = randn(elty, n, n)
690
- # generate a symmetric positive definite matrix as Q*D*Q',
691
- # where Q is orthogonal, and D contains the eigenvalues
692
- Q, _ = qr(a)
693
- D = Diagonal(rand(real(elty), n) .+ real(oneunit(elty)))
694
- A = Matrix(Hermitian(Q*D*Q')) # ensure that the matrix is exactly hermitian
+ A = a'*a + I
695
B = rand(elty, n, n)
696
D = copy(A)
697
C = copy(B)
0 commit comments