Skip to content

Commit e23fb4b

Browse files
authored
[backport-1.10] Fix dispatch for rdiv! with LU (#56415)
Backport of #55764.
1 parent 3b088df commit e23fb4b

File tree

1 file changed

+1
-1
lines changed
  • stdlib/LinearAlgebra/src

1 file changed

+1
-1
lines changed

stdlib/LinearAlgebra/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)