#5817: [with spkg, needs review] Update FLINT to 1.2.5 (latest upstream release)
----------------------+-----------------------------------------------------
Reporter: mabshoff | Owner: mabshoff
Type: defect | Status: assigned
Priority: major | Milestone: sage-4.0.1
Component: packages | Keywords:
----------------------+-----------------------------------------------------
Comment(by dmharvey):
Sorry, I'm an idiot. That code snippet above is using {{{change_ring}}}
incorrectly. Here is a better example:
{{{
sage: S.<t> = PolynomialRing(Integers(14641))
sage: f = 1 + 9581*t
sage: g = 1 + 4334*t
sage: R = Integers(1331)
sage: ff = f.change_ring(R)
sage: gg = g.change_ring(R)
sage: ff
264*t + 1
sage: gg
341*t + 1
sage: ff * gg
925*t^2 + 605*t + 1
sage: (264 * 341) % 1331
847
}}}
Both ff and gg now have the correct type, but the answer is still wrong.
Still investigating...
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5817#comment:12>
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
-~----------~----~----~----~------~----~------~--~---