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

fix generic ldiv! for CholeskyPivoted #32593

Merged
merged 3 commits into from
Jul 26, 2019
Merged

fix generic ldiv! for CholeskyPivoted #32593

merged 3 commits into from
Jul 26, 2019

Conversation

dkarrasch
Copy link
Member

@dkarrasch dkarrasch commented Jul 16, 2019

I was trying to implement an rdiv! for Cholesky, and started by adopting the generic ldiv!, since I don't know how to do it with LAPACK. I realized that the code was returning the correct result, but was not overwriting the input as one would expect. Corresponding permutation code, however, was included in the LAPACK-versions of ldiv!. This PR fixes this.

@mbauman mbauman added the linear algebra Linear algebra label Jul 16, 2019
@dkarrasch dkarrasch closed this Jul 20, 2019
@dkarrasch dkarrasch reopened this Jul 20, 2019
@dkarrasch
Copy link
Member Author

Are we going to backport this? If yes, then I probably shouldn't interweave the two tests (i.e., this one with #32594), should I?

@andreasnoack
Copy link
Member

I've added backport labels and I think you are right that it would be easier if you don't join them.

@kshyatt
Copy link
Contributor

kshyatt commented Jul 26, 2019

Is this ready to go?

@dkarrasch
Copy link
Member Author

I think so, yes. The test changes are hopefully "minimally invasive" now, so this can be backported with reasonable effort.

@andreasnoack andreasnoack merged commit d0e11cf into JuliaLang:master Jul 26, 2019
JeffBezanson pushed a commit that referenced this pull request Aug 5, 2019
* fix generic ldiv! for CholeskyPivoted

* add back one empty line to make backport easier

* don't interfere with previous tests

(cherry picked from commit d0e11cf)
KristofferC pushed a commit that referenced this pull request Aug 26, 2019
* fix generic ldiv! for CholeskyPivoted

* add back one empty line to make backport easier

* don't interfere with previous tests

(cherry picked from commit d0e11cf)
@KristofferC KristofferC mentioned this pull request Aug 26, 2019
55 tasks
KristofferC pushed a commit that referenced this pull request Aug 26, 2019
* fix generic ldiv! for CholeskyPivoted

* add back one empty line to make backport easier

* don't interfere with previous tests

(cherry picked from commit d0e11cf)
@KristofferC KristofferC added the bugfix This change fixes an existing bug label Sep 9, 2019
KristofferC pushed a commit that referenced this pull request Feb 20, 2020
* fix generic ldiv! for CholeskyPivoted

* add back one empty line to make backport easier

* don't interfere with previous tests

(cherry picked from commit d0e11cf)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix This change fixes an existing bug linear algebra Linear algebra
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants