Skip to content

Commit

Permalink
Make sure that eltyp is actually used for LinearAlgebra test (#38498)
Browse files Browse the repository at this point in the history
  • Loading branch information
shirodkara authored May 13, 2022
1 parent fb58435 commit 2168230
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion stdlib/LinearAlgebra/test/lapack.jl
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,8 @@ end

@testset "gebal/gebak" begin
@testset for elty in (Float32, Float64, ComplexF32, ComplexF64)
A = rand(elty,10,10) * Diagonal(exp10.(range(-10, stop=10, length=10)))
typescale = log10(eps(real(elty))) / 3 * 2
A = rand(elty,10,10) * Diagonal(exp10.(range(typescale, stop=-typescale, length=10)))
B = copy(A)
ilo, ihi, scale = LAPACK.gebal!('S',B)
Bvs = eigvecs(B)
Expand Down

0 comments on commit 2168230

Please sign in to comment.