#4795: Modular forms over finite fields need work
---------------------------------+---------------------------
       Reporter:  craigcitro     |         Owner:  craigcitro
           Type:  defect         |        Status:  new
       Priority:  major          |     Milestone:  sage-5.11
      Component:  modular forms  |    Resolution:
       Keywords:                 |     Merged in:
        Authors:                 |     Reviewers:
Report Upstream:  N/A            |   Work issues:
         Branch:                 |  Dependencies:
       Stopgaps:                 |
---------------------------------+---------------------------
Changes (by AlexGhitza):

 * upstream:   => N/A


Comment:

 Under 5.10, there's a coercion issue at the very beginning:

 {{{
 sage: m = ModularForms(DirichletGroup(8).1, 2, GF(7))
 ---------------------------------------------------------------------------
 ValueError                                Traceback (most recent call
 last)
 <ipython-input-3-a5d6a0e5413b> in <module>()
 ----> 1 m = ModularForms(DirichletGroup(Integer(8)).gen(1), Integer(2),
 GF(Integer(7)))

 /opt/sage/local/lib/python2.7/site-
 packages/sage/modular/modform/constructor.pyc in ModularForms(group,
 weight, base_ring, use_cache, prec)
     343         M = ambient_eps.ModularFormsAmbient_eps(eps, weight)
     344         if base_ring != eps.base_ring():
 --> 345             M = M.base_extend(base_ring) #
 ambient_R.ModularFormsAmbient_R(M, base_ring)
     346
     347     if M is None:

 /opt/sage/local/lib/python2.7/site-packages/sage/modular/modform/space.pyc
 in base_extend(self, base_ring)
     430         """
     431         if not base_ring.has_coerce_map_from(self.base_ring()):
 --> 432             raise ValueError, "No coercion defined"
     433         else:
     434             return self.change_ring(base_ring)

 ValueError: No coercion defined
 }}}

--
Ticket URL: <http://trac.sagemath.org/ticket/4795#comment:2>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to