#8666: Bug in cyclotomic linear algebra
--------------------------------------------+-------------------------------
   Reporter:  craigcitro                    |       Owner:  AlexGhitza
       Type:  defect                        |      Status:  new       
   Priority:  blocker                       |   Milestone:  sage-4.4  
  Component:  algebra                       |    Keywords:            
     Author:  Craig Citro, Robert Bradshaw  |    Upstream:  N/A       
   Reviewer:                                |      Merged:            
Work_issues:                                |  
--------------------------------------------+-------------------------------
 David Loeffler ran into this bug:

 {{{
 sage: K.<zeta4> = CyclotomicField(4)
 sage: m = matrix(K, [186])
 sage: n = matrix(K, [125])
 sage: m * n
 [-23087]
 }}}

 (See http://groups.google.com/group/sage-
 devel/browse_thread/thread/4f8633d6acf1c4ef# for the full thread.)

 The issue is that the bound for what modulus the entries can be computed
 modulo is off by a factor of 2, because it doesn't take the sign into
 consideration. (Amusingly, this was basically the same fix as in #4823.)

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