Hi Eric, On 2015-02-21, Eric Gourgoulhon <egourgoul...@gmail.com> wrote: > It seems that a possible way to have 0 + MyElement work even if ZZ does= >=20 > not coerce to MyElement.parent() is to have=20 > MyElement.parent()._element_constructor_ accept 0 (i.e. Integer(0)) as an= >=20 > argument and return the zero element of your vector space / module for such= >=20 > an argument. Am I correct?=20
That's conversion. It would *not* enable x+0. Best regards, Simon -- 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.