#7548: modular form times scalar = boom
-----------------------------+----------------------------------------------
Reporter: AlexGhitza | Owner: craigcitro
Type: defect | Status: new
Priority: major | Milestone: sage-4.3
Component: modular forms | Keywords:
Work_issues: | Author:
Upstream: N/A | Reviewer:
Merged: |
-----------------------------+----------------------------------------------
{{{
----------------------------------------------------------------------
| Sage Version 4.2.1, Release Date: 2009-11-14 |
| Type notebook() for the GUI, and license() for information. |
----------------------------------------------------------------------
sage: M = CuspForms(Gamma0(5*3^2), 2)
sage: f = M.basis()[0]
sage: f
q - q^4 + O(q^6)
sage: 2*f
2*q - 2*q^4 + O(q^6)
sage: f*2
---------------------------------------------------------------------------
NameError Traceback (most recent call
last)
/home/ghitza/.sage/temp/artin/19582/_home_ghitza__sage_init_sage_0.py in
<module>()
/home/ghitza/sage-devel/local/lib/python2.6/site-
packages/sage/modular/modform/element.pyc in __mul__(self, other)
967 # boring case: scalar multiplication
968 if not isinstance(other, ModularFormElement):
--> 969 return HeckeModuleElement.__mul__(self, other)
970
971 # first ensure the levels are equal
NameError: global name 'HeckeModuleElement' is not defined
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7548>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.