-
-
Notifications
You must be signed in to change notification settings - Fork 480
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
Implement period_lattice for elliptic curves over RealField, ComplexField, etc. #38474
base: develop
Are you sure you want to change the base?
Conversation
Documentation preview for this PR (built with commit 8923ec9; changes) is ready! 🎉 |
The failing test looks unrelated to the changes, I think. |
@JohnCremona Perhaps you might be interested in this. |
I'll look at this next week |
Caveat:
What do you think? One way is to default
|
@JohnCremona Can I get a review? Thanks. |
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.
I am happy with this, assuming that old tests still pass. It is a good idea to change the behavious over number fields with no specified embedding: the choice to use the "first" one was quite random, probably introduced by me when I first did this. Certainly, when there is a default embedding for the number field, that is the one to use.
I think it is up to the original author to fix the failing tests, which do not look serious. My positive review was only in principle, once these things have been sorted out. |
Indeed the failing tests are not serious (it's just one error message over another). I didn't notice the test failure after merging the branch, sorry. Changing the behavior to only use coerce_embedding instead of arbitrarily pick the first embedding sounds like a good idea, I will implement it later. |
I decide to just fix the failing tests by relax the thing being tested for. The part of using canonical embedding feels like a behavioral change ⟹ deprecation period ⟹ etc. and it's probably easiest to handle it in a separate pull request. |
There are still some failing tests being flagged. Do they fail when run locally? |
I… use GitHub Actions to run the tests, sorry. Should really get around to figure out how to run it locally… |
Implement
E.period_lattice()
method for elliptic curves over other fields.(The code is mostly already there, just need minor adaptation.)
📝 Checklist