#9389: Bug in polynomials over residue fields (was: sage crashing when computing
local_data() for an EC)
-----------------------------+----------------------------------------------
   Reporter:  arminstraub    |       Owner:  davidloeffler                   
       Type:  defect         |      Status:  new                             
   Priority:  major          |   Milestone:                                  
  Component:  number fields  |    Keywords:  segfault polynomial finite field
     Author:                 |    Upstream:  N/A                             
   Reviewer:                 |      Merged:                                  
Work_issues:                 |  
-----------------------------+----------------------------------------------

Comment(by was):

 NOTE:

 John, you are *definitely* right that the problem in polynomial coercion
 is caused by #7841, since by simply switching to not using NTL polynomials
 the proper behavior is restored:
 {{{
 sage: K.<a> = QuadraticField(5)
 sage: R = PolynomialRing(K.ideal(2).residue_field(), 'x',
 implementation='generic')
 sage: R([1/2*a])
 ...
 TypeError
 }}}

 If ylchapuy doesn't fix this soon, we could revert his PolynomialRing
 implementation for the next Sage release, if necessary....
 But probably the fix isn't too hard (for him -- it might be very hard for
 me).

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