#13034: Fix index in saturation of zero matrices
------------------------------+---------------------------------------------
   Reporter:  novoselt        |             Owner:  jason, was
       Type:  defect          |            Status:  new       
   Priority:  major           |         Milestone:  sage-5.1  
  Component:  linear algebra  |          Keywords:  sd40.5    
Work issues:                  |   Report Upstream:  N/A       
  Reviewers:                  |           Authors:            
  Merged in:                  |      Dependencies:            
   Stopgaps:                  |  
------------------------------+---------------------------------------------
 Now:
 {{{
 sage: m = matrix(ZZ, 3)
 sage: m.index_in_saturation()
 ---------------------------------------------------------------------------
 ValueError                                Traceback (most recent call
 last)

 /home/novoselt/sage-5.1.beta0/devel/sage-main/<ipython console> in
 <module>()

 /home/novoselt/sage-5.1.beta0/local/lib/python2.7/site-
 packages/sage/matrix/matrix_integer_dense.so in
 sage.matrix.matrix_integer_dense.Matrix_integer_dense.index_in_saturation
 (sage/matrix/matrix_integer_dense.c:17074)()

 /home/novoselt/sage-5.1.beta0/local/lib/python2.7/site-
 packages/sage/matrix/matrix_integer_dense_saturation.pyc in
 index_in_saturation(A, proof)
     308     A = A.transpose()
     309     A = A.hermite_form(proof=proof,include_zero_rows=False)
 --> 310     return abs(A.determinant(proof=proof))
     311
     312

 /home/novoselt/sage-5.1.beta0/local/lib/python2.7/site-
 packages/sage/matrix/matrix_integer_dense.so in
 sage.matrix.matrix_integer_dense.Matrix_integer_dense.determinant
 (sage/matrix/matrix_integer_dense.c:25359)()

 ValueError: self must be a square matrix
 }}}
 while it should be 1.

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