#10734: Improve matrix_modn_sparse methods for converting to dense and taking
submatrices
------------------------------+---------------------------------------------
   Reporter:  tornaria        |          Owner:  was             
       Type:  enhancement     |         Status:  needs_work      
   Priority:  major           |      Milestone:  sage-5.0        
  Component:  linear algebra  |       Keywords:                  
Work_issues:                  |       Upstream:  N/A             
   Reviewer:  William Stein   |         Author:  Gonzalo Tornaria
     Merged:                  |   Dependencies:                  
------------------------------+---------------------------------------------
Changes (by davidloeffler):

  * status:  needs_review => needs_work


Comment:

 Looks like the patchbot is getting the same failures, under both 4.8 and
 5.0.beta7. I'm afraid that's "needs work", then. Here's an example of the
 kind of error that's coming up:
 {{{
 sage -t  -force_lib devel/sage-10734/sage/matrix/matrix_modn_sparse.pyx
 **********************************************************************
 File
 "/Users/patchbot/sage-4.8/devel/sage-10734/sage/matrix/matrix_modn_sparse.pyx",
 line 635:
     sage: A.dense_submatrix(24,24,3,3)
 Exception raised:
     Traceback (most recent call last):
       File "/Users/patchbot/sage-4.8/local/bin/ncadoctest.py", line 1231,
 in run_one_test
         self.run_one_example(test, example, filename, compileflags)
       File "/Users/patchbot/sage-4.8/local/bin/sagedoctest.py", line 38,
 in run_one_example
         OrigDocTestRunner.run_one_example(self, test, example, filename,
 compileflags)
       File "/Users/patchbot/sage-4.8/local/bin/ncadoctest.py", line 1172,
 in run_one_example
         compileflags, 1) in test.globs
       File "<doctest __main__.example_10[4]>", line 1, in <module>
 A.dense_submatrix(Integer(24),Integer(24),Integer(3),Integer(3))###line
 635:
     sage: A.dense_submatrix(24,24,3,3)
       File "matrix_modn_sparse.pyx", line 655, in
 sage.matrix.matrix_modn_sparse.Matrix_modn_sparse.dense_submatrix
 (sage/matrix/matrix_modn_sparse.c:11628)
         M = self.new_matrix(nrows, ncols, sparse=False)
     TypeError: Cannot convert
 sage.matrix.matrix_modn_dense_float.Matrix_modn_dense_float to
 sage.matrix.matrix_mod_dense.Matrix_mod_dense
 **********************************************************************
 }}}

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