-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Closed
Labels
types and dispatchTypes, subtyping and method dispatchTypes, subtyping and method dispatch
Description
We use a slightly complicated type alias in the linear algebra code and it appears the <:
is getting the ralation wrong for complex matrices.
julia> LinAlg.RealHermSymComplexHerm
Union{Hermitian{Complex{T<:Real},S},Hermitian{T<:Real,S},Symmetric{T<:Real,S}}
julia> Symmetric{Float64,Matrix{Float64}} <: LinAlg.RealHermSymComplexHerm
true
julia> Hermitian{Float64,Matrix{Float64}} <: LinAlg.RealHermSymComplexHerm
true
julia> Hermitian{Complex{Float64},Matrix{Complex{Float64}}} <: LinAlg.RealHermSymComplexHerm
false
Metadata
Metadata
Assignees
Labels
types and dispatchTypes, subtyping and method dispatchTypes, subtyping and method dispatch