-
-
Notifications
You must be signed in to change notification settings - Fork 37
Closed
Description
julia> using LinearAlgebra
julia> eigen(Tridiagonal(rand(10,10)))
ERROR: MethodError: no method matching eigen(::Tridiagonal{Float64,Array{Float64,1}})
Closest candidates are:
eigen(::AbstractArray{TA,2}, ::AbstractArray{TB,2}) where {TA, TB} at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.0\LinearAlgebra\src\eigen.jl:382
eigen(::SymTridiagonal{T,V} where V<:AbstractArray{T,1}) where T at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.0\LinearAlgebra\src\tridiag.jl:201
eigen(::SymTridiagonal{T,V} where V<:AbstractArray{T,1}, ::UnitRange) where T at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.0\LinearAlgebra\src\tridiag.jl:205Shouldn't this either fallback to a generic method (my opinion) or error in a more meaningful way?
Similar to #551
schneiderfelipe
Metadata
Metadata
Assignees
Labels
No labels