Skip to content

Commit

Permalink
Fix for #48911 (Final Permutation)
Browse files Browse the repository at this point in the history
Align the final permutation with LAPACK's ZGELSY at https://netlib.org/lapack/explore-html/d8/d6e/zgelsy_8f_source.html
  • Loading branch information
aravindh-krishnamoorthy authored Apr 25, 2023
1 parent 7d8dac5 commit 614940c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stdlib/LinearAlgebra/src/qr.jl
Original file line number Diff line number Diff line change
Expand Up @@ -614,7 +614,7 @@ function _wide_qr_ldiv!(A::QR{T}, B::AbstractMatrix{T}) where T
end
end
end
return transpose(A.P)*B
return A.P*B
end


Expand Down

0 comments on commit 614940c

Please sign in to comment.