#10344: Polyhedron incorrectly handles RR-vertices
------------------------+---------------------------------------------------
   Reporter:  novoselt  |       Owner:  mhampton  
       Type:  defect    |      Status:  new       
   Priority:  major     |   Milestone:  sage-4.6.2
  Component:  geometry  |    Keywords:            
     Author:            |    Upstream:  N/A       
   Reviewer:            |      Merged:            
Work_issues:            |  
------------------------+---------------------------------------------------
 {{{
 sage: p = Polyhedron(vertices=[vector(RR, [1/2, 3/4]), vector(RR, [4,
 5])])
 sage: p
 A 0-dimensional polyhedron in QQ^2 defined as the convex hull of 1 vertex.
 sage: p.vertices()
 [[0, 0]]
 sage: p = Polyhedron(vertices=[vector([1/2, 3/4]), vector([4, 5])])
 sage: p
 A 1-dimensional polyhedron in QQ^2 defined as the convex hull of 2
 vertices.
 sage: p.vertices()
 [[1/2, 3/4], [4, 5]]
 }}}
 I think that the first case should give either a numerical polyhedron or
 at least an error message.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10344>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to