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
cuspform_lseries() method for a new form has precision issues #16916
Comments
Commit: |
Branch: u/tornaria/16916 |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:3
After the first commit there were a few cases for which the runtime error would still happen. It turns out that
is not always a list of length num_coeff, because trailing zeros are removed. Instead we now use
which will not drop the trailing zeros. |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:5
Review: This patch fixes the problem in the description. I tried to calculate L(f,1) for new forms of various levels but even setting the precision very high I was never able to calculate with levels above 100. With the patch I calculated L(f,1) for all new forms with rational coefficients up to level 400 without increasing the precision. |
Reviewer: Michael Neururer |
comment:8
Author name should be full name, not trac username. |
Changed author from tornaria to Gonzalo Tornaría |
comment:9
Replying to @vbraun:
Isn't that inconsistent with how the "Reported by" field is handled? By the way, this ticket and #11631 are sooo embarrassing that I hope they can make it into 6.4... (especially since the fixes where kind of trivial). |
comment:10
"reported by" is where trac stores the account that created the ticket. Author/Reviewer are not necessarily trac accounts (could have been written by somebody without an account, for example). Also, they end up in the git commit log. |
comment:11
Replying to @vbraun:
Yes, I know, but with the same reason a defect could have been reported by somebody without an account and picked up by someone different.
So anybody can change the !Author/Reviewer fields without a trac account? I agree that git commit logs should have full name and email (mine do). I understand your point, but I still think it's a bit inconsistent, and makes it difficult to search for tickets by name, because the account name is used for some fields (e.g. reported by, comments) but the real name is used for others (author, reviewer). Also, real names are not always canonical (e.g. mine has an accented i and it's not always used consistently -- can't be used in sage source code, for instance), while trac login names should be unique. Anyway, thanks for your work. |
comment:12
You need a trac account to edit tickets but you might post somebody else's code. You can use UTF8 in the sources, this should be enough to write your name in your preferred spelling. If you can't decide how to spell your name I can't help you, though ;-) |
Changed branch from u/tornaria/16916 to |
This is because the field
prec
is used both for the numerical precision and for the number of coefficients computed.Since the L-functions class has a
num_coeffs()
method, the proper thing is to use that to know how many coefficients to compute.Component: modular forms
Keywords: lseries
Author: Gonzalo Tornaría
Branch/Commit:
13dbf33
Reviewer: Michael Neururer
Issue created by migration from https://trac.sagemath.org/ticket/16916
The text was updated successfully, but these errors were encountered: