Skip to content

Commit 915b8eb

Browse files
authored
Apply suggestions from code review
1 parent 723ae63 commit 915b8eb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/diagonal.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -335,14 +335,14 @@ function mul(A::AdjOrTransAbsMat, D::Diagonal)
335335
copy(adj(adj(D) * adj(A)))
336336
end
337337
function mul(A::AdjOrTransAbsMat{<:Number, <:StridedMatrix}, D::Diagonal{<:Number})
338-
@invoke *(A::AbstractMatrix, D::AbstractMatrix)
338+
@invoke mul(A::AbstractMatrix, D::AbstractMatrix)
339339
end
340340
function mul(D::Diagonal, A::AdjOrTransAbsMat)
341341
adj = wrapperop(A)
342342
copy(adj(adj(A) * adj(D)))
343343
end
344344
function mul(D::Diagonal{<:Number}, A::AdjOrTransAbsMat{<:Number, <:StridedMatrix})
345-
@invoke *(D::AbstractMatrix, A::AbstractMatrix)
345+
@invoke mul(D::AbstractMatrix, A::AbstractMatrix)
346346
end
347347

348348
function rmul!(A::AbstractMatrix, D::Diagonal)

0 commit comments

Comments
 (0)