#13878: Fix failing assertion in linbox/matrix/permutation-matrix.h
--------------------------------------------+-------------------------------
       Reporter:  SimonKing                 |         Owner:  jason, was
           Type:  defect                    |        Status:  new       
       Priority:  major                     |     Milestone:  sage-5.6  
      Component:  linear algebra            |    Resolution:            
       Keywords:  debug, linbox, assertion  |   Work issues:            
Report Upstream:  N/A                       |     Reviewers:            
        Authors:                            |     Merged in:            
   Dependencies:                            |      Stopgaps:            
--------------------------------------------+-------------------------------

Comment (by nbruin):

 It looks like trivial spans in large ZZ-modules are to blame:
 {{{
 invfac=[0]*75
 n = len(invfac)
 A = ZZ**n
 B = A.span([A.gen(i) * invfac[i] for i in xrange(n)])
 }}}
 runs OK, but with `invfac=[0]*76` we get the abort. With
 `invfac=[1]+[0]*100` or `invfac=[0]*100+[1]` we don't get an error.
 Perhaps this helps to find the problematic code path?

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