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
Let number_field_elements_from_algebraics() return result using same field as input #25377
Comments
Branch: public/25377 |
New commits:
|
Author: Brent Baccala |
Commit: |
comment:2
I also think that this would better be the default. Where the failures are? |
comment:3
Note: this ticket is likely to create conflicts #20181 |
comment:4
Replying to @videlec:
This is the only troublesome one:
It raises an exception with the new code (if The problem is that without So, if the elements are from |
Reviewer: Marc Mezzarobba |
comment:5
Replying to @BrentBaccala:
Sounds sensible. And the code looks good to me. One minor nitpick (not worth delaying the ticket IMO): I personally don't like the use of |
Changed branch from public/25377 to |
I often want
number_field_elements_from_algebraics()
to return a morphism that goes back to the same field as the elements that I passed in.For example:
Notice that the morphism comes back to
AA
, notQQbar
.I've added an option to get the behavior that I want:
Perhaps this should be the default, but it broke enough regression tests that I left it as an option.
Component: algebra
Author: Brent Baccala
Branch/Commit:
ffa1e99
Reviewer: Marc Mezzarobba
Issue created by migration from https://trac.sagemath.org/ticket/25377
The text was updated successfully, but these errors were encountered: