Skip to content

Commit

Permalink
Remove specialized method for Upper/Lower
Browse files Browse the repository at this point in the history
  • Loading branch information
jishnub committed Sep 6, 2024
1 parent 9f9c511 commit 6ff2f2c
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions stdlib/LinearAlgebra/src/triangular.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2782,11 +2782,6 @@ end

# Generic eigensystems
eigvals(A::AbstractTriangular) = diag(A)
# in general, we convert the parent to a matrix to avail the StridedMatrix methods

eigvecs(A::UpperOrUnitUpperTriangular{<:BlasFloat}) = eigvecs(UpperTriangular(Matrix(A)))
eigvecs(A::LowerOrUnitLowerTriangular{<:BlasFloat}) = eigvecs(LowerTriangular(Matrix(A)))

# fallback for unknown types
function eigvecs(A::AbstractTriangular{<:BlasFloat})
if istriu(A)
Expand Down

0 comments on commit 6ff2f2c

Please sign in to comment.