-
Notifications
You must be signed in to change notification settings - Fork 8
BigFloat compatibility for qr_jacobimatrix #146
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
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #146 +/- ##
==========================================
+ Coverage 91.76% 91.78% +0.01%
==========================================
Files 17 17
Lines 1822 1825 +3
==========================================
+ Hits 1672 1675 +3
Misses 150 150
☔ View full report in Codecov by Sentry. |
Ok @dlfivefifty , after some digging: the error above for Cholesky appears to live in this line https://github.com/JuliaLinearAlgebra/InfiniteLinearAlgebra.jl/blob/0fc35261c6e8a8ce2bb4b647cbf935855e4b81ec/src/infcholesky.jl#L35 ArrayLayouts fails to materialize MulAdd for certain BigFloat matrices. I can avoid this by special casing the line including muladd!() to just to the lazy multiplication ( btw which entry does muladd!() overwrite? is it |
🤷♂️ I can't find the code where I had to work around this. But definitely don't specialise to |
I wasn't aware of |
We technically don't need Cholesky to work for SemiclassicalOPs but it would feel silly to leave that part of the issue open. I think we just need muladd!() to have a method for bigfloats, even if it isn't as elegant. |
# we fill 1 entry on the first run | ||
dv = zeros(T,2) | ||
# we fill 1 entry on the first run and circumvent BigFloat issue | ||
dv = zeros(T,2) |
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.
Try not to add extra spaces to ends of lines
@dlfivefifty @MikaelSlevinsky This PR restores BigFloat compatibility to the QR variants of jacobimatrix computation. The fix in theory also addresses Cholesky but that remains broken because of a similar issue in InfiniteLinearAlgebra.jl exemplified by
Once that is fixed we can remove the
_broken
from the test added here.