Salut Frédéric, On Wed, Feb 02, 2011 at 02:51:51AM -0800, Frédéric Chapoton wrote: > I have found the following problem. > > sage: Set([len([v for v in mySet if v==u]) for u in mySet]) > {1, 2} > sage: type(mySet) > <class 'sage.sets.set.Set_object_enumerated_with_category'> > > So we have here a *set with repetitions*. This happens for a very > specific set mySet which contains linear combinations of elements of a > rather big poset. > > sage: type(mySet[0]) > <class > 'sage.combinat.free_module.modules_sur_P_with_category.element_class'> > > Is there any known explanation for this bad behavior ?
If at all possible, please include a complete example that we can run an analyze. Amitiés, 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-devel@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.