#9798: Accelerate Polyhedron constructor and fix cddlib output ordering
----------------------------+-----------------------------------------------
   Reporter:  vbraun        |       Owner:  mhampton  
       Type:  defect        |      Status:  needs_work
   Priority:  major         |   Milestone:  sage-4.6  
  Component:  geometry      |    Keywords:            
     Author:  Volker Braun  |    Upstream:  N/A       
   Reviewer:                |      Merged:            
Work_issues:                |  
----------------------------+-----------------------------------------------

Comment(by jhpalmieri):

 Here's fulvia:
 {{{
 sage: Polyhedron(ieqs = [[0, 0, 0, 0, 1], [0, 0, 0, 2, -1], [0, 0, 2, -1,
 0],
 ....:  [0, 2, -1, 0, 0]], eqns = [[1,-1,-1,-1,-1]], verbose = True)
 H-representation
 linearity 1 1
 begin
  5 5 rational
  1 -1 -1 -1 -1
  0 0 0 0 1
  0 0 0 2 -1
  0 0 2 -1 0
  0 2 -1 0 0
 end


 ---------------------------------------------------------------------------
 AttributeError                            Traceback (most recent call
 last)

 /home/palmieri/fulvia/32bit/sage-4.6.alpha2/<ipython console> in
 <module>()

 /home/palmieri/fulvia/32bit/sage-4.6.alpha2/local/lib/python2.6/site-
 packages/sage/geometry/polyhedra.pyc in __init__(self, vertices, rays,
 lines, ieqs, eqns, field, compute_adjacency, verbose)
    1534
    1535         # Only add a show() method if we have one
 -> 1536         if self.ambient_dim() < len(Polyhedron._render_method):
    1537             render = Polyhedron._render_method[self.ambient_dim()]
    1538             if render != None:

 /home/palmieri/fulvia/32bit/sage-4.6.alpha2/local/lib/python2.6/site-
 packages/sage/geometry/polyhedra.pyc in ambient_dim(self)
    2627             4
    2628         """
 -> 2629         return self._ambient_dim
    2630
    2631

 AttributeError: 'Polyhedron' object has no attribute '_ambient_dim'
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9798#comment:40>
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