#8986: Add support for convex rational polyhedral cones
----------------------------------+-----------------------------------------
Reporter: novoselt | Owner: mhampton
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-4.5
Component: geometry | Keywords:
Author: Andrey Novoseltsev | Upstream: N/A
Reviewer: Volker Braun | Merged:
Work_issues: |
----------------------------------+-----------------------------------------
Comment(by vbraun):
I noticed that, too. I haven't gotten around to fix it because I ran into
this strange doctest failure in Sage-4.5alpha1 that worked beautifully in
sage-4.4.4:
{{{
File "/home/vbraun/opt/sage-4.5.alpha1/devel/sage-
main/sage/geometry/cone.py", line 1535:
sage: c.faces()
Exception raised:
Traceback (most recent call last):
File "/home/vbraun/opt/sage-4.5.alpha1/local/bin/ncadoctest.py",
line 1231, in run_one_test
self.run_one_example(test, example, filename, compileflags)
File "/home/vbraun/opt/sage-4.5.alpha1/local/bin/sagedoctest.py",
line 38, in run_one_example
OrigDocTestRunner.run_one_example(self, test, example, filename,
compileflags)
File "/home/vbraun/opt/sage-4.5.alpha1/local/bin/ncadoctest.py",
line 1172, in run_one_example
compileflags, 1) in test.globs
File "<doctest __main__.example_33[10]>", line 1, in <module>
c.faces()###line 1535:
sage: c.faces()
File "/home/vbraun/opt/sage-4.5.alpha1/local/lib/python/site-
packages/sage/geometry/cone.py", line 1554, in faces
for level in self.face_lattice().level_sets())
File "/home/vbraun/opt/sage-4.5.alpha1/local/lib/python/site-
packages/sage/geometry/cone.py", line 1433, in face_lattice
ray_to_facets, facet_to_rays, ConeFace)
File "/home/vbraun/opt/sage-4.5.alpha1/local/lib/python/site-
packages/sage/geometry/cone.py", line 2259, in
hasse_diagram_from_incidences
for atom, coatoms in enumerate(atom_to_coatoms))
File "/home/vbraun/opt/sage-4.5.alpha1/local/lib/python/site-
packages/sage/geometry/cone.py", line 2259, in <genexpr>
for atom, coatoms in enumerate(atom_to_coatoms))
KeyError: (frozenset([0]), frozenset([0]))
}}}
Andrey, since its your code maybe you'll understand what is going on.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8986#comment:21>
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.