From 96aeda330117853a69aaa915011aab8737ef57d3 Mon Sep 17 00:00:00 2001 From: Sheehan Olver Date: Thu, 20 Jul 2023 16:23:33 +0100 Subject: [PATCH] Update mul.jl --- src/mul.jl | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/mul.jl b/src/mul.jl index 6548464..20ca1cf 100644 --- a/src/mul.jl +++ b/src/mul.jl @@ -309,11 +309,10 @@ end *(x::AdjointAbsVec{<:Any,<:Zeros{<:Any,1}}, D::Diagonal, y::LayoutVector) = FillArrays._triple_zeromul(x, D, y) *(x::TransposeAbsVec{<:Any,<:Zeros{<:Any,1}}, D::Diagonal, y::LayoutVector) = FillArrays._triple_zeromul(x, D, y) - -*(A::UpperOrLowerTriangular{<:Any,<:LayoutMatrix}, B::UpperOrLowerTriangular{<:Any,<:LayoutMatrix}) = mul(A, B) -*(A::UpperOrLowerTriangular{<:Any,<:AdjOrTrans{<:Any,<:LayoutMatrix}}, B::UpperOrLowerTriangular{<:Any,<:LayoutMatrix}) = mul(A, B) -*(A::UpperOrLowerTriangular{<:Any,<:LayoutMatrix}, B::UpperOrLowerTriangular{<:Any,<:AdjOrTrans{<:Any,<:LayoutMatrix}}) = mul(A, B) -*(A::UpperOrLowerTriangular{<:Any,<:AdjOrTrans{<:Any,<:LayoutMatrix}}, B::UpperOrLowerTriangular{<:Any,<:AdjOrTrans{<:Any,<:LayoutMatrix}}) = mul(A, B) +*(A::AbsTriangular{<:Any,<:LayoutMatrix}, B::AbsTriangular{<:Any,<:LayoutMatrix}) = mul(A, B) +*(A::AbsTriangular{<:Any,<:AdjOrTrans{<:Any,<:LayoutMatrix}}, B::AbsTriangular{<:Any,<:LayoutMatrix}) = mul(A, B) +*(A::AbsTriangular{<:Any,<:LayoutMatrix}, B::AbsTriangular{<:Any,<:AdjOrTrans{<:Any,<:LayoutMatrix}}) = mul(A, B) +*(A::AbsTriangular{<:Any,<:AdjOrTrans{<:Any,<:LayoutMatrix}}, B::AbsTriangular{<:Any,<:AdjOrTrans{<:Any,<:LayoutMatrix}}) = mul(A, B) # mul! for subarray of layout matrix