Skip to content

Commit

Permalink
[backport-1.10] Fix dispatch for rdiv! with LU (#56415)
Browse files Browse the repository at this point in the history
Backport of #55764.
  • Loading branch information
dkarrasch authored and N5N3 committed Nov 11, 2024
1 parent f8eca8f commit 5337687
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stdlib/LinearAlgebra/src/lu.jl
Original file line number Diff line number Diff line change
Expand Up @@ -713,7 +713,7 @@ function ldiv!(adjA::AdjointFactorization{<:Any,<:LU{T,Tridiagonal{T,V}}}, B::Ab
return B
end

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

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

0 comments on commit 5337687

Please sign in to comment.