#14019: equality is broken for Posets
-------------------------------------+-------------------------------------
       Reporter:  ncohen             |        Owner:  sage-combinat
           Type:  defect             |       Status:  needs_info
       Priority:  major              |    Milestone:  sage-6.4
      Component:  combinatorics      |   Resolution:
       Keywords:                     |    Merged in:
        Authors:  Nathann Cohen      |    Reviewers:
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  u/andrew.mathas/ticket/14019       |  d10a6efa75561632cdc76b2c98c5eca4312372ec
   Dependencies:                     |     Stopgaps:  #14185
-------------------------------------+-------------------------------------

Comment (by aschilling):

 Hi Nathann,

 To be honest, I cannot even reproduce the bug that you reported
 {{{
 sage: d = DiGraph({2:[1],3:[1]})
 sage: sage: p1 = Poset(d)
 sage: sage: p2 = p1.relabel({1:1,2:3,3:2})
 /Applications/sage/src/bin/sage-ipython:1:
 
********************************************************************************
 Relabelling posets is known to break equality between posets (P == Q)
 This issue is being tracked at
 http://trac.sagemath.org/sage_trac/ticket/14019.
 
********************************************************************************
 sage: sage: p1.hasse_diagram() == p2.hasse_diagram()
 True
 sage: p1 == p2
 True
 }}}
 Is it possible that this was already fixed with #17059? I am running
 sage-6.4.beta4.

 Anne

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