#13165: Error multiplying modular forms of level Gamma1
-----------------------------+----------------------------------------------
   Reporter:  davidloeffler  |             Owner:  craigcitro
       Type:  defect         |            Status:  new       
   Priority:  major          |         Milestone:  sage-5.2  
  Component:  modular forms  |          Keywords:            
Work issues:                 |   Report Upstream:  N/A       
  Reviewers:                 |           Authors:            
  Merged in:                 |      Dependencies:            
   Stopgaps:                 |  
-----------------------------+----------------------------------------------
 The following was reported by Nadim Restom on sage-support
 [https://groups.google.com/forum/?fromgroups#!topic/sage-
 support/c-wjnYxAcn8 here]:
 {{{
 f = ModularForms(Gamma1(5),2).0
 f*f

 I am getting an error:

 Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
   File "_sage_input_5.py", line 10, in <module>
     exec compile(u'open("___code___.py","w").write("# -*- coding: utf-8
 -*-\\n" +
 _support_.preparse_worksheet_cell(base64.b64decode("Zipm"),globals())+"\\n");
 execfile(os.path.abspath("___code___.py"))
   File "", line 1, in <module>

   File "/tmp/tmp9a_pAs/___code___.py", line 2, in <module>
     exec compile(u'f*f
   File "", line 1, in <module>

   File
 "/sagenb/sage_install/sage-5.0-boxen-x86_64-Linux/local/lib/python2.7
 /site-packages/sage/modular/modform/element.py", line 1034, in __mul__
     eps1 = self.character()
   File
 "/sagenb/sage_install/sage-5.0-boxen-x86_64-Linux/local/lib/python2.7
 /site-packages/sage/modular/modform/element.py", line 423, in character
     raise ValueError, "Form is not an eigenvector for <%s>" % g
 ValueError: Form is not an eigenvector for <2>
 }}}

 Looks like line 1040 of sage/modular/modform/element.py is the culprit.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13165>
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.

Reply via email to