-
-
Notifications
You must be signed in to change notification settings - Fork 553
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
Polyhedra coercion of base rings fails for number fields #28770
Labels
Milestone
Comments
This comment has been minimized.
This comment has been minimized.
Commit: |
New commits:
|
Branch: public/28770 |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:4
reviewer full name is missing |
Reviewer: Léo Brunswic |
Changed branch from public/28770 to |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently coercion of polyhedra with number fields does not work. The following results in a type error:
But the backend can surely handle it, as the following does work:
The underlying error:
But it should be
K
.The problem is that
_coerce_base_ring
ofPolyhedra_base
just takes the base ring ofK
, which are the rationals.We fix this, by not taking the base ring, if the object is already a ring.
CC: @jplab @LaisRast
Component: geometry
Author: Jonathan Kliem
Branch/Commit:
a0068cc
Reviewer: Léo Brunswic
Issue created by migration from https://trac.sagemath.org/ticket/28770
The text was updated successfully, but these errors were encountered: