Skip to content

Commit a0a7ad6

Browse files
dkarraschKristofferC
authored and
KristofferC
committed
[backport-1.10] Fix dispatch for rdiv! with LU (#56415)
Backport of #55764. (cherry picked from commit 53376873f0c000a53760c8a80c3219aa95934618)
1 parent 764b57f commit a0a7ad6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lu.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -713,7 +713,7 @@ function ldiv!(adjA::AdjointFactorization{<:Any,<:LU{T,Tridiagonal{T,V}}}, B::Ab
713713
return B
714714
end
715715

716-
rdiv!(B::AbstractMatrix, A::LU) = transpose(ldiv!(transpose(A), transpose(B)))
716+
rdiv!(B::AbstractMatrix, A::LU{T,Tridiagonal{T,V}}) where {T,V} = transpose(ldiv!(transpose(A), transpose(B)))
717717

718718
# Conversions
719719
AbstractMatrix(F::LU) = (F.L * F.U)[invperm(F.p),:]

0 commit comments

Comments
 (0)