#6168: [with patch, positive review] FLINT wrapper not reducing coefficients
properly
------------------------------+---------------------------------------------
Reporter: dmharvey | Owner: somebody
Type: defect | Status: new
Priority: critical | Milestone: sage-4.0.1
Component: basic arithmetic | Keywords:
------------------------------+---------------------------------------------
Comment(by kedlaya):
The patch applies against 4.0, and fixes the bug:
{{{
sage: R.<x> = PolynomialRing(Integers(15))
sage: S.<y> = PolynomialRing(Integers(5))
sage: f = S(5*x)
sage: f
0
sage: f == 0
True
sage: f.degree()
-1
}}}
Moreover, with this patch in, the spkg at #5817 passes all doctests.
Positive review.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6168#comment:4>
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
-~----------~----~----~----~------~----~------~--~---