You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
should throw an error if any of the eigenvectors failed to converge and therefore its unlikely the if block would ever be reached.
can someone suggest a test for this? I tried a bunch of matrices from the MatrixDepot.jl packages but none of them threw any errors when running eigen.
The relevant code for context (comments with <-- mine)
# .... # # lapack.jl lines 4138 - 4142chklapackerror(info[])
ifany(ifail .!=0) # <-- should be unreachable because of the line above#TODO: better error message / typeerror("failed to converge eigenvectors:\n$(findall(!iszero, ifail))") # <-- this line hereend# ... #
The text was updated successfully, but these errors were encountered:
Is the following line in
lapack.jl
even reachable?LinearAlgebra.jl/src/lapack.jl
Line 4141 in 2a1696a
The call to
chklapackerror(info[])
on line 4138LinearAlgebra.jl/src/lapack.jl
Line 4138 in 2a1696a
should throw an error if any of the eigenvectors failed to converge and therefore its unlikely the if block would ever be reached.
can someone suggest a test for this? I tried a bunch of matrices from the
MatrixDepot.jl
packages but none of them threw any errors when runningeigen
.The relevant code for context (comments with
<--
mine)The text was updated successfully, but these errors were encountered: