Skip to content
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

Coercion problem for polyhedra #14744

Closed
rharron mannequin opened this issue Jun 14, 2013 · 4 comments
Closed

Coercion problem for polyhedra #14744

rharron mannequin opened this issue Jun 14, 2013 · 4 comments

Comments

@rharron
Copy link
Mannequin

rharron mannequin commented Jun 14, 2013

I ran into the following problem of coercing a polyhedron over QQ to one over RDF:

sage: verts = Sequence([(1.732050808, 2.449489743, 4.242640687),
....:  (1.732050808, -1.224744871, 2.121320344),
....:  (1.732050808, -1.224744871, -2.121320344),
....:  (1.732050808, 2.449489743, 0.0),
....:  (-1.732050808, -2.449489743, -4.242640687),
....:  (-1.732050808, 1.224744871, -2.121320344),
....:  (-1.732050808, -2.449489743, 0.0),
....:  (-1.732050808, 1.224744871, 2.121320344)], universe=RDF^3)
sage: P_RDF = Polyhedron(vertices=verts)
sage: Space_RDF = P_RDF.parent()
sage: verts = Sequence([(1732051/1000000, 0, -400000393291/282842800000),
....:  (1732051/1000000, 666666505233/544331000000, -136082967219796951/192450130208500000),
....:  (1732051/1000000, 666666505233/544331000000, 136082967219796951/192450130208500000),
....:  (1732051/1000000, -666666505233/544331000000, -136082967219796951/192450130208500000),
....:  (1732051/1000000, -666666505233/544331000000, 136082967219796951/192450130208500000),
....:  (1732051/1000000, 0, 400000393291/282842800000),
....:  (577351/1000000, -888888520233/544331000000, -136082859839816063/96225065104250000),
....:  (577351/1000000, -6666671997/16329940000, -600000322261/282842800000),
....:  (577351/1000000, -6666671997/16329940000, 600000322261/282842800000),
....:  (577351/1000000, -888888520233/544331000000, 136082859839816063/96225065104250000),
....:  (577351/1000000, 1111110920133/544331000000, 146640983940592/207381605828125),
....:  (-1732051/1000000, -666666505233/544331000000, 136082967219796951/192450130208500000),
....:  (-577351/1000000, -1111110920133/544331000000, 146640983940592/207381605828125),
....:  (-577351/1000000, -1111110920133/544331000000, -146640983940592/207381605828125),
....:  (-1732051/1000000, -666666505233/544331000000, -136082967219796951/192450130208500000),
....:  (-577351/1000000, 888888520233/544331000000, 136082859839816063/96225065104250000),
....:  (-577351/1000000, 6666671997/16329940000, 600000322261/282842800000),
....:  (577351/1000000, 1111110920133/544331000000, -146640983940592/207381605828125),
....:  (-1732051/1000000, 666666505233/544331000000, 136082967219796951/192450130208500000),
....:  (-1732051/1000000, 0, 400000393291/282842800000),
....:  (-1732051/1000000, 666666505233/544331000000, -136082967219796951/192450130208500000),
....:  (-577351/1000000, 888888520233/544331000000, -136082859839816063/96225065104250000),
....:  (-577351/1000000, 6666671997/16329940000, -600000322261/282842800000),
....:  (-1732051/1000000, 0, -400000393291/282842800000)], universe=QQ^3)
sage: P_QQ = Polyhedron(verts)
sage: P_RDF_QQ = Space_RDF(P_QQ)
sage: P_RDF_QQ.Hrepresentation()
AttributeError: 'Polyhedra_RDF_cdd_with_category.element_class' object has no attribute '_Hrepresentation'
sage: P_RDF_QQ.Vrepresentation()
AttributeError: 'Polyhedra_RDF_cdd_with_category.element_class' object has no attribute '_Vrepresentation'

Component: geometry

Keywords: polyhedron

Reviewer: Volker Braun

Issue created by migration from https://trac.sagemath.org/ticket/14744

@rharron rharron mannequin added this to the sage-5.11 milestone Jun 14, 2013
@rharron rharron mannequin added c: geometry labels Jun 14, 2013
@vbraun
Copy link
Member

vbraun commented Jun 15, 2013

comment:1

Fixed in sage-5.10.beta1 (#14479)

@vbraun vbraun removed this from the sage-5.11 milestone Jun 15, 2013
@nathanncohen
Copy link
Mannequin

nathanncohen mannequin commented Dec 2, 2013

comment:2

I've been raised by the previous release managers to set the duplicate/wontfix tickets to "positive_review". Do we still do that under your reign ? :-P

Nathann

@vbraun
Copy link
Member

vbraun commented Dec 2, 2013

comment:3

keep doing it ;)

@jdemeyer
Copy link

jdemeyer commented Dec 5, 2013

Reviewer: Volker Braun

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants