-
-
Notifications
You must be signed in to change notification settings - Fork 11.7k
BUG: ensure empty cholesky upper does not hang. #25843
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
BUG: ensure empty cholesky upper does not hang. #25843
Conversation
a126bd1 to
13c3c42
Compare
|
With just |
|
Or maybe it should just be |
|
Looks like it is called with The original code goes back to 2012. I was wondering, as we seldom use |
|
@charris - do you think it makes sense to just use EDIT: though tests pass now, at least. |
|
Lets go with The functions If there was no chance of other uses in the future, I would just pass in |
13c3c42 to
18d1891
Compare
|
@charris - Sounds good, I went with all your suggestions - the zeroing is done for Cholesky only, so it makes sense to keep it close (especially as it is meant to be inlined). |
|
Good name choice! Thanks Marten. The failing test is unrelated, not sure what is going on there. |
Fixes #25840 - the problem was that for
size_t,0 - 1is a large number. Since afortran intis passed in, assize_tmakes more sense anyway.