#6168: FLINT wrapper not reducing coefficients properly
----------------------+-----------------------------------------------------
 Reporter:  dmharvey  |       Owner:  tbd
     Type:  defect    |      Status:  new
 Priority:  major     |   Milestone:     
Component:  algebra   |    Keywords:     
----------------------+-----------------------------------------------------
 It is possible to create FLINT {{{zmod_poly}}} objects whose coefficients
 are not reduced mod n (where n is the modulus). This is difficult to show
 directly in Sage, but here is an example symptom:

 {{{
 sage: R.<x> = PolynomialRing(Integers(15))
 sage: S.<y> = PolynomialRing(Integers(5))
 sage: f = S(5*x)
 sage: f
 0
 sage: f == 0
 False
 sage: f.degree()
 1
 }}}

 Internally the coefficient 5 is not reduced, but it prints as reduced.

 This bug is probably the main cause of #5817.

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