#12879: TestSuite failures for HeckeModule Homsets
-----------------------------+----------------------------------------------
   Reporter:  nthiery        |             Owner:  craigcitro
       Type:  defect         |            Status:  new       
   Priority:  major          |         Milestone:  sage-5.1  
  Component:  modular forms  |          Keywords:            
Work issues:                 |   Report Upstream:  N/A       
  Reviewers:                 |           Authors:            
  Merged in:                 |      Dependencies:            
   Stopgaps:                 |  
-----------------------------+----------------------------------------------
 Adding a Testsuite run in #12876 in the documentation of
 sage.categories.hecke_modules.HeckeModules.ParentMethods._Hom_
 revealed the following bug:
 {{{
 sage: M = ModularForms(Gamma0(7), 4)
 sage: H = Hom(M); H
 sage: H.zero()
 Traceback (most recent call last):
   File "<ipython console>", line 1, in <module>
   File "cachefunc.pyx", line 1397, in
 sage.misc.cachefunc.CachedMethodCallerNoArgs.__call__
 (sage/misc/cachefunc.c:7026)
   File "/opt/sage-5.0.beta11/local/lib/python2.7/site-
 packages/sage/categories/modules.py", line 221, in zero
     From: Free module generated by {1, 2, 3} over Integer Ring
   File "/opt/sage-5.0.beta11/local/lib/python2.7/site-
 packages/sage/modular/hecke/homspace.py", line 111, in __call__
     return morphism.HeckeModuleMorphism_matrix(self, A, name)
   File "/opt/sage-5.0.beta11/local/lib/python2.7/site-
 packages/sage/modular/hecke/morphism.py", line 116, in __init__
     MatrixMorphism.__init__(self, parent, A)
   File "/opt/sage-5.0.beta11/local/lib/python2.7/site-
 packages/sage/modules/matrix_morphism.py", line 1191, in __init__
     parent.codomain().rank())(A)
   File "/opt/sage-5.0.beta11/local/lib/python2.7/site-
 packages/sage/matrix/matrix_space.py", line 543, in __call__
     return self.matrix(entries, copy=copy, coerce=coerce, rows=rows)
   File "/opt/sage-5.0.beta11/local/lib/python2.7/site-
 packages/sage/matrix/matrix_space.py", line 1372, in matrix
     return self.__matrix_class(self, entries=x, copy=copy, coerce=coerce)
   File "matrix_rational_dense.pyx", line 205, in
 sage.matrix.matrix_rational_dense.Matrix_rational_dense.__init__
 (sage/matrix/matrix_rational_dense.c:5788)
 TypeError: entries must be coercible to a list or integer
 }}}

 {{{TestSuite(H).run()}}} also fails for "_test_elements".

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