#18220: Bug when creating a polyhedron with coefficients in RR
--------------------------+----------------------------
   Reporter:  vdelecroix  |            Owner:
       Type:  defect      |           Status:  new
   Priority:  major       |        Milestone:  sage-6.7
  Component:  geometry    |         Keywords:
  Merged in:              |          Authors:
  Reviewers:              |  Report Upstream:  N/A
Work issues:              |           Branch:
     Commit:              |     Dependencies:
   Stopgaps:              |
--------------------------+----------------------------
 {{{
 sage: omega = 2*RR.pi() / 5
 sage: verts = [((i*omega).sin(), (i*omega).cos()) for i in range(5)]
 sage: verts
 sage: Polyhedron(vertices=verts, base_ring=RR)
 Traceback (most recent call last):
 ...
 /sage/local/lib/python2.7/site-
 packages/sage/geometry/polyhedron/double_description_inhomogeneous.pyc in
 _extract_Vrep(self, DD)
     309         vertices = []
     310         for v in R1 + L1:
 --> 311             assert v[0] == 1
     312             vertices.append(v[1:])
     313         self.vertices = vertices
 AssertionError:
 }}}

--
Ticket URL: <http://trac.sagemath.org/ticket/18220>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to