Looks like it works, thanks ! sage: x=GF(5).cartesian_product(GF(5))((1,1)) sage: type(x.value[0]) <type 'sage.rings.finite_rings.integer_mod.IntegerMod_int'> sage: x.value[0] 1 sage: x.value[0]*5 0
Why did you have to move the code around, though ? What is the difference between sets.cartesian_product and categories.cartesian_product ? Nathann -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.