#14019: equality is broken for Posets
-------------------------------------+-------------------------------------
       Reporter:  ncohen             |        Owner:  sage-combinat
           Type:  defect             |       Status:  needs_work
       Priority:  major              |    Milestone:  sage-6.4
      Component:  combinatorics      |   Resolution:
       Keywords:  posets             |    Merged in:
        Authors:  Travis Scrimshaw,  |    Reviewers:  Travis Scrimshaw,
  Anne Schilling                     |  Anne Schilling
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  public/combinat/poset/fix_equality-14019|  
c5c6a0c6c0cc48a2ce6a89652aaccb48b35b987a
   Dependencies:  #17059             |     Stopgaps:  #14185
-------------------------------------+-------------------------------------

Comment (by ncohen):

 Yo !

 > On both Travis' and my machine there is no problem

 `O_o`

 Weird.

 > Please post at least the error that you get!

 I get three things like that

 {{{
 sage -t --long categories/finite_coxeter_groups.py
 **********************************************************************
 File "categories/finite_coxeter_groups.py", line 143, in
 
sage.categories.finite_coxeter_groups.FiniteCoxeterGroups.ParentMethods.bruhat_poset
 Failed example:
     P.show()
 Exception raised:
     Traceback (most recent call last):
       File "/home/ncohen/.Sage/local/lib/python2.7/site-
 packages/sage/doctest/forker.py", line 488, in _run
         self.compile_and_execute(example, compiler, test.globs)
       File "/home/ncohen/.Sage/local/lib/python2.7/site-
 packages/sage/doctest/forker.py", line 851, in compile_and_execute
         exec(compiled, globs)
       File "<doctest
 
sage.categories.finite_coxeter_groups.FiniteCoxeterGroups.ParentMethods.bruhat_poset[3]>",
 line 1, in <module>
         P.show()
       File "/home/ncohen/.Sage/local/lib/python2.7/site-
 packages/sage/combinat/posets/posets.py", line 1523, in show
         vertex_size=vertex_size, vertex_colors=vertex_colors,
 layout=layout).show(**kwds)
       File "/home/ncohen/.Sage/local/lib/python2.7/site-
 packages/sage/combinat/posets/posets.py", line 1497, in plot
         **kwds)
       File "/home/ncohen/.Sage/local/lib/python2.7/site-
 packages/sage/misc/decorators.py", line 550, in wrapper
         return func(*args, **options)
       File "/home/ncohen/.Sage/local/lib/python2.7/site-
 packages/sage/graphs/generic_graph.py", line 15675, in plot
         return self.graphplot(**options).plot()
       File "/home/ncohen/.Sage/local/lib/python2.7/site-
 packages/sage/graphs/generic_graph.py", line 15376, in graphplot
         return GraphPlot(graph=self, options=options)
       File "/home/ncohen/.Sage/local/lib/python2.7/site-
 packages/sage/graphs/graph_plot.py", line 247, in __init__
         self.set_vertices()
       File "/home/ncohen/.Sage/local/lib/python2.7/site-
 packages/sage/graphs/graph_plot.py", line 426, in set_vertices
         self._pos[v], rgbcolor=(0,0,0), zorder=8))
     KeyError: [0 0 1]
     [0 1 0]
     [1 0 0]

 }}}

 Nathann

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