Skip to content

Commit 465b5b9

Browse files
committed
Ensure positive-definite matrix in lapack posv test (#1238)
1 parent b910d5e commit 465b5b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/lapack.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -679,7 +679,7 @@ end
679679
@testset for elty in (Float32, Float64, ComplexF32, ComplexF64)
680680
local n = 10
681681
a = randn(elty, n, n)
682-
A = a'*a
682+
A = a'*a + I
683683
B = rand(elty, n, n)
684684
D = copy(A)
685685
C = copy(B)

0 commit comments

Comments
 (0)