Hi all, Could anybody point me to a link to understand the coercion model of sage.
... or, if anybody is willing to have a look at my problem: [EMAIL PROTECTED]:~$ sage ---------------------------------------------------------------------- | SAGE Version 3.0.3, Release Date: 2008-06-17 | | Type notebook() for the GUI, and license() for information. | ---------------------------------------------------------------------- sage: load 'http://sage.math.washington.edu/home/nils/ automorphic_forms_rings.sage' Attempting to load remote file: http://sage.math.washington.edu/home/nils/automorphic_forms_rings.sage Loading: [.] sage: h = AutomorphicFormsRing(QQ, [17], 'a') sage: a = h.gen(0) sage: a*a --------------------------------------------------------------------------- TypeError Traceback (most recent call last) /home/nils/<ipython console> in <module>() /home/nils/element.pyx in sage.structure.element.RingElement.__mul__ (sage/structure/element.c:8528)() /home/nils/coerce.pxi in sage.structure.element._mul_c (sage/structure/ element.c:16256)() /home/nils/element.pyx in sage.structure.element.RingElement._mul_ (sage/structure/element.c:8689)() /home/nils/element.pyx in sage.structure.element.RingElement._mul_c_impl (sage/structure/ element.c:8655)() TypeError: unsupported operand parent(s) for '*': '<class '__main__.AutomorphicFormsRing'>' and '<class '__main__.AutomorphicFormsRing'>' Thanks in advance, ---Nils Skoruppa --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---