Hello ! > Yeah, could be. But (our posts crossed) I guess you want to use add(), > not sum().
I solved my problem as I usually do : I cast the combinat object to simple types to avoid these nightmares. sage: for c in Compositions(4): ....: c = map(int,c) # something I can trust I was just reporting here that some "natural" code fails on compositions, i.e. : sum(Composition([1,2,3])) Nathann -- You received this message because you are subscribed to the Google Groups "sage-combinat-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-combinat-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-combinat-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-combinat-devel. For more options, visit https://groups.google.com/d/optout.