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.