Skip to content

Commit

Permalink
Fix #1164 - flaky posv test (#1166)
Browse files Browse the repository at this point in the history
  • Loading branch information
ViralBShah authored Feb 2, 2025
2 parents 443aa0f + 106da87 commit c9ad828
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions test/lapack.jl
Original file line number Diff line number Diff line change
Expand Up @@ -676,13 +676,8 @@ end
@testset "posv and some errors for friends" begin
@testset for elty in (Float32, Float64, ComplexF32, ComplexF64)
local n = 10
A = rand(elty,n,n)/100
A += real(diagm(0 => n*real(rand(elty,n))))
if elty <: Complex
A = A + A'
else
A = A + transpose(A)
end
A = randn(elty,n,n)
A = A'*A
B = rand(elty,n,n)
D = copy(A)
C = copy(B)
Expand Down

0 comments on commit c9ad828

Please sign in to comment.