#5465: render3d for groebner fans is totally broken
----------------------+-----------------------------------------------------
Reporter: was | Owner: mhampton
Type: defect | Status: new
Priority: major | Milestone: sage-3.4
Component: geometry | Keywords:
----------------------+-----------------------------------------------------
{{{
teragon:~ wstein$ sage
----------------------------------------------------------------------
| Sage Version 3.4.alpha0, Release Date: 2009-02-24 |
| Type notebook() for the GUI, and license() for information. |
----------------------------------------------------------------------
sage: P.<a,b,c> = PolynomialRing(QQ,3, order='lex')
sage: sage.rings.ideal.Katsura(P,3).groebner_fan().render3d()
---------------------------------------------------------------------------
UnboundLocalError Traceback (most recent call
last)
/Users/wstein/.sage/temp/teragon.local/68617/_Users_wstein__sage_init_sage_0.py
in <module>()
/Users/wstein/build/sage-3.4.alpha0/local/lib/python2.5/site-
packages/sage/rings/polynomial/groebner_fan.pyc in render3d(self, verbose)
1067 g_cones_ieqs = [self._cone_to_ieq(q) for q in
g_cones_facets]
1068 # Now the cones are intersected with a plane:
-> 1069 cone_info = [ieq_to_vert(q,linearities=[[1,-1,-1,-1,-1]])
for q in g_cones_ieqs]
1070 if verbose:
1071 for x in cone_info:
/Users/wstein/build/sage-3.4.alpha0/local/lib/python2.5/site-
packages/sage/geometry/polyhedra.pyc in ieq_to_vert(in_list, linearities,
cdd_type, verbose)
1268 adj_index = index
1269 # read the vertices and rays:
-> 1270 for index in range(vert_index,len(ans_lines)):
1271 a_line = ans_lines[index]
1272 if a_line.find('end') != -1: break
UnboundLocalError: local variable 'vert_index' referenced before
assignment
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5465>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---