-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bugfix for zero matrix in A_ldiv_B! for QRPivoted #22831
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks. Looks right. Maybe add newlines for those branches. It might have been the reason why the branch was not covered by tests.
test/linalg/qr.jl
Outdated
A = zeros(1, 2) | ||
B = zeros(1, 1) | ||
@test A \ B == zeros(2, 1) | ||
@test qrfact(A, Val{true}) \ B == zeros(2, 1) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Val(true)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm modulo the minor preexisting comments! :)
* Bugfix for zero matrix in A_ldiv_B! for QRPivoted. * Address review comments.
* Bugfix for zero matrix in A_ldiv_B! for QRPivoted. * Address review comments. (cherry picked from commit bf47fd9)
* Bugfix for zero matrix in A_ldiv_B! for QRPivoted. * Address review comments. (cherry picked from commit bf47fd9)
* Bugfix for zero matrix in A_ldiv_B! for QRPivoted. * Address review comments. (cherry picked from commit bf47fd9)
* Bugfix for zero matrix in A_ldiv_B! for QRPivoted. * Address review comments. (cherry picked from commit bf47fd9)
I believe this fixes #22810 but needs review by someone who is familiar with this code.