On Thu, Nov 26, 2009 at 10:50:22PM +0100, Florent hivert wrote: > I've been chasing the following bug for quite a long time... > > sage: p1 = Posets(6)[85]; p2 = Posets(6)[35] > sage: p1.cover_relations() > [[0, 1], [0, 2], [3, 5], [4, 5]] > sage: p2.cover_relations() > [[0, 1], [0, 2], [1, 3], [1, 4], [2, 3], [2, 4], [3, 5], [4, 5]] > sage: p1 == p2 > True > sage: p1.__eq__ > --------------------------------------------------------------------------- > AttributeError Traceback (most recent call last) > > /home/averell/.sage/temp/tomahawk/21813/_home_averell_recherche_00SVN_FRG_Articles_Hivert_Schilling_Thiery_HeckeMonoid_main_sage_4.py > in <module>() > > AttributeError: 'FinitePoset' object has no attribute '__eq__' > > I tried to fix it in trac_7538_poset_equal_fix-fh.patch but this is not quite > good:
Speaking of this patch: the test on sage.combinat.posets.posets do not pass anymore on 4.3.2, probably due to the recent graph refactoring. Cheers, Nicolas -- Nicolas M. ThiƩry "Isil" <nthi...@users.sf.net> http://Nicolas.Thiery.name/ -- You received this message because you are subscribed to the Google Groups "sage-combinat-devel" group. To post to this group, send email to sage-combinat-de...@googlegroups.com. To unsubscribe from this group, send email to sage-combinat-devel+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sage-combinat-devel?hl=en.