Hi Robert, On 2012-11-09, Robert Bradshaw <rober...@math.washington.edu> wrote: > __len__ must return a (machine-sized) int, not elements of ZZ let > alone infinity.
Sorry, I didn't know that. Then one should probably go the other way, implement cardinality() for more parents, and use it in "sum". Cheers, Simon -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To post to this group, send email to sage-devel@googlegroups.com. To unsubscribe from this group, send email to sage-devel+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel?hl=en.