#4306: bug in supersingular module
-----------------------------+----------------------------------------------
   Reporter:  was            |       Owner:  craigcitro
       Type:  defect         |      Status:  needs_work
   Priority:  major          |   Milestone:  sage-4.3.2
  Component:  modular forms  |    Keywords:            
     Author:                 |    Upstream:  N/A       
   Reviewer:                 |      Merged:            
Work_issues:                 |  
-----------------------------+----------------------------------------------
Changes (by AlexGhitza):

  * status:  needs_review => needs_work


Comment:

 With the patch applied, I'm getting

 {{{
 sage -t -long "modular/ssmod/ssmod.py"
 **********************************************************************
 File "/opt/sage-4.3.1/devel/sage-main/sage/modular/ssmod/ssmod.py", line
 38:
     sage: t = X.T(2).matrix()            # long time (but still less than
 a minute!)
 Exception raised:
     Traceback (most recent call last):
       File "/home/ghitza/sage-devel/local/bin/ncadoctest.py", line 1231,
 in run_one_test
         self.run_one_example(test, example, filename, compileflags)
       File "/home/ghitza/sage-devel/local/bin/sagedoctest.py", line 38, in
 run_one_example
         OrigDocTestRunner.run_one_example(self, test, example, filename,
 compileflags)
       File "/home/ghitza/sage-devel/local/bin/ncadoctest.py", line 1172,
 in run_one_example
         compileflags, 1) in test.globs
       File "<doctest __main__.example_0[9]>", line 1, in <module>
         t = X.T(Integer(2)).matrix()            # long time (but still
 less than a minute!)###line 38:
     sage: t = X.T(2).matrix()            # long time (but still less than
 a minute!)
       File "/home/ghitza/sage-devel/local/lib/python/site-
 packages/sage/modular/hecke/module.py", line 1343, in T
         return self.hecke_operator(n)
       File "/home/ghitza/sage-devel/local/lib/python/site-
 packages/sage/modular/hecke/module.py", line 1330, in hecke_operator
         return self.hecke_algebra().hecke_operator(n)
       File "/home/ghitza/sage-devel/local/lib/python/site-
 packages/sage/modular/hecke/module.py", line 325, in hecke_algebra
         self.__hecke_algebra = algebra.HeckeAlgebra(self)
       File "/home/ghitza/sage-devel/local/lib/python/site-
 packages/sage/modular/hecke/algebra.py", line 136, in HeckeAlgebra
         k = (M, M.basis_matrix())
       File "/home/ghitza/sage-devel/local/lib/python/site-
 packages/sage/modular/hecke/module.py", line 828, in basis_matrix
         return self.free_module().basis_matrix()
       File "/home/ghitza/sage-devel/local/lib/python/site-
 packages/sage/modules/free_module.py", line 2087, in basis_matrix
         A = MAT.identity_matrix()
       File "/home/ghitza/sage-devel/local/lib/python/site-
 packages/sage/matrix/matrix_space.py", line 944, in identity_matrix
         A = self(0)
       File "/home/ghitza/sage-devel/local/lib/python/site-
 packages/sage/matrix/matrix_space.py", line 395, in __call__
         return self.matrix(entries, copy=copy, coerce=coerce, rows=rows)
       File "/home/ghitza/sage-devel/local/lib/python/site-
 packages/sage/matrix/matrix_space.py", line 1087, in matrix
         return self.__matrix_class(self, entries=x, copy=copy,
 coerce=coerce)
       File "matrix_rational_dense.pyx", line 149, in
 sage.matrix.matrix_rational_dense.Matrix_rational_dense.__cinit__
 (sage/matrix/matrix_rational_dense.c:4931)
     MemoryError: out of memory allocating a matrix
 **********************************************************************
 File "/opt/sage-4.3.1/devel/sage-main/sage/modular/ssmod/ssmod.py", line
 39:
     sage: t.nrows()                      # long time
 Exception raised:
     Traceback (most recent call last):
       File "/home/ghitza/sage-devel/local/bin/ncadoctest.py", line 1231,
 in run_one_test
         self.run_one_example(test, example, filename, compileflags)
       File "/home/ghitza/sage-devel/local/bin/sagedoctest.py", line 38, in
 run_one_example
         OrigDocTestRunner.run_one_example(self, test, example, filename,
 compileflags)
       File "/home/ghitza/sage-devel/local/bin/ncadoctest.py", line 1172,
 in run_one_example
         compileflags, 1) in test.globs
       File "<doctest __main__.example_0[10]>", line 1, in <module>
         t.nrows()                      # long time###line 39:
     sage: t.nrows()                      # long time
     NameError: name 't' is not defined
 **********************************************************************
 1 items had failures:
    2 of  18 in __main__.example_0
 ***Test Failed*** 2 failures.
 For whitespace errors, see the file
 /home/ghitza/.sage//tmp/.doctest_ssmod.py
          [21.4 s]

 ----------------------------------------------------------------------
 The following tests failed:


         sage -t -long "modular/ssmod/ssmod.py"
 Total time for all tests: 21.4 seconds
 }}}

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