Skip to content
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

Merged
merged 2 commits into from
Jul 17, 2017

Conversation

GunnarFarneback
Copy link
Contributor

I believe this fixes #22810 but needs review by someone who is familiar with this code.

Copy link
Member

@andreasnoack andreasnoack left a 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.

A = zeros(1, 2)
B = zeros(1, 1)
@test A \ B == zeros(2, 1)
@test qrfact(A, Val{true}) \ B == zeros(2, 1)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Val(true)

Copy link
Member

@Sacha0 Sacha0 left a 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! :)

@kshyatt kshyatt added the domain:linear algebra Linear algebra label Jul 16, 2017
@andreasnoack andreasnoack merged commit bf47fd9 into JuliaLang:master Jul 17, 2017
@GunnarFarneback GunnarFarneback deleted the issue22810 branch July 17, 2017 14:45
jeffwong pushed a commit to jeffwong/julia that referenced this pull request Jul 24, 2017
* Bugfix for zero matrix in A_ldiv_B! for QRPivoted.

* Address review comments.
ararslan pushed a commit that referenced this pull request Sep 11, 2017
* Bugfix for zero matrix in A_ldiv_B! for QRPivoted.

* Address review comments.

Ref #22831
(cherry picked from commit bf47fd9)
ararslan pushed a commit that referenced this pull request Sep 13, 2017
* Bugfix for zero matrix in A_ldiv_B! for QRPivoted.

* Address review comments.

(cherry picked from commit bf47fd9)
vtjnash pushed a commit that referenced this pull request Sep 14, 2017
* Bugfix for zero matrix in A_ldiv_B! for QRPivoted.

* Address review comments.

(cherry picked from commit bf47fd9)
ararslan pushed a commit that referenced this pull request Sep 15, 2017
* Bugfix for zero matrix in A_ldiv_B! for QRPivoted.

* Address review comments.

(cherry picked from commit bf47fd9)
ararslan pushed a commit that referenced this pull request Sep 16, 2017
* Bugfix for zero matrix in A_ldiv_B! for QRPivoted.

* Address review comments.

(cherry picked from commit bf47fd9)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Matrix division corner case error
7 participants