Skip to content

Commit

Permalink
Fix duplicated ldiv! method in qr.jl (JuliaLang#38801)
Browse files Browse the repository at this point in the history
Introduced in JuliaLang#38389
  • Loading branch information
Keno authored and ElOceanografo committed May 4, 2021
1 parent a0b23fc commit c88dea3
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 c88dea3

Please sign in to comment.