Skip to content

Commit

Permalink
Fix duplicated ldiv! method in qr.jl (#38801)
Browse files Browse the repository at this point in the history
Introduced in #38389

(cherry picked from commit d6f9948)
  • Loading branch information
Keno authored and KristofferC committed Dec 11, 2020
1 parent d5088f7 commit 1e377ca
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions stdlib/LinearAlgebra/src/qr.jl
Original file line number Diff line number Diff line change
Expand Up @@ -882,10 +882,6 @@ function ldiv!(A::QR, B::StridedVector)
return B
end

function ldiv!(A::QR, B::StridedVector)
ldiv!(A, reshape(B, length(B), 1))
B
end
function ldiv!(A::QRPivoted, b::StridedVector)
ldiv!(QR(A.factors,A.τ), b)
b[1:size(A.factors, 2)] = view(b, 1:size(A.factors, 2))[invperm(A.jpvt)]
Expand Down

0 comments on commit 1e377ca

Please sign in to comment.