-
Notifications
You must be signed in to change notification settings - Fork 59
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
Problem with numerical evaluation of QQBar. #1941
Comments
What do you mean by "silently gives up" ? For me it indeed "slows down" when computing step 45, but it successfully completes the loop (on a MacBook with M1 Max, macOS 12, with 64 GB of RAM). |
OK, it did not complete the loop on my systems in any reasonable time, but
the systems also did not have 64 GB of Ram.
What remains is the observation that even on better equipped systems a
serious change of state occurs at this point, the cause of which is not
clear.
… Message ID: ***@***.***>
|
It seems that for many values of
This in the end calls @PeterLuschny You probobably know this, but it seems to be more efficient to do all computations with approximations? If I do
then everything is pretty fast (you might have to increase the precision for large |
Great example, @thofma . So this is fast:
But this is not (just changed
I also took a backtrace to get a rough idea what it is doing:
In the meantime I wonder if @fredrik-johansson or @albinahlback have any insights on this. Perhaps we should just open a FLINT issue for this? |
I think Fredrik is the person for this, I don't have a lot of insight in Calcium. |
Some numerical heuristic isn't working properly. Without debugging this carefully, I suspect it's an instance where polynomial root-finding performs poorly due to clustered roots (we don't have cluster detection, so convergence can be extremely slow in bad cases). |
Consider the program below. It runs until n = 44 and then silently gives up for no apparent reason.
Tested with version Nemo: 0.47.3, Julia 1.11.1
on Windows 11/23H2, and Mac Sonoma 14.4.1/M2.
The text was updated successfully, but these errors were encountered: