Skip to content

Commit

Permalink
Fixed typo in linalg/qr.jl (#24123)
Browse files Browse the repository at this point in the history
  • Loading branch information
Vaibhavdixit02 authored and ararslan committed Oct 13, 2017
1 parent cbeab1a commit 84ca8ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/linalg/qr.jl
Expand Up @@ -769,7 +769,7 @@ end
A_ldiv_B!(A::QRCompactWY{T}, b::StridedVector{T}) where {T<:BlasFloat} = (A_ldiv_B!(UpperTriangular(A[:R]), view(Ac_mul_B!(A[:Q], b), 1:size(A, 2))); b)
A_ldiv_B!(A::QRCompactWY{T}, B::StridedMatrix{T}) where {T<:BlasFloat} = (A_ldiv_B!(UpperTriangular(A[:R]), view(Ac_mul_B!(A[:Q], B), 1:size(A, 2), 1:size(B, 2))); B)

# Julia implementation similarly to xgelsy
# Julia implementation similar to xgelsy
function A_ldiv_B!(A::QRPivoted{T}, B::StridedMatrix{T}, rcond::Real) where T<:BlasFloat
mA, nA = size(A.factors)
nr = min(mA,nA)
Expand Down

0 comments on commit 84ca8ee

Please sign in to comment.