#12689: Segfault in solve_left for sparse matrices over ZZ
------------------------------+---------------------------------------------
   Reporter:  davidloeffler   |          Owner:  jason, was
       Type:  defect          |         Status:  new       
   Priority:  critical        |      Milestone:  sage-5.0  
  Component:  linear algebra  |       Keywords:  segfault  
Work_issues:                  |       Upstream:  N/A       
   Reviewer:                  |         Author:            
     Merged:                  |   Dependencies:            
------------------------------+---------------------------------------------

Comment(by dsm):

 We can push the bug a bit farther back:


 {{{

 sage: A = identity_matrix(ZZ, 2, sparse=True)
 sage: B = identity_matrix(ZZ, 2, sparse=True)
 sage: A.augment(B)
 [1 0 1 0]
 [0 1 0 1]
 sage: A.change_ring(QQ).augment(B.change_ring(QQ))
 [1 0 1 0]
 [0 1 0 1]
 sage: A.change_ring(QQ).augment(B)
 [  1   0 1/0   0]
 [  0   1   0 1/0]
 }}}

 1/0 doesn't look right..

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