#11530: Conversion of finite field elements to PARI disregards characteristic
and
mangles "Mod"
------------------------------+---------------------------------------------
Reporter: rbeezer | Owner: AlexGhitza
Type: defect | Status: needs_work
Priority: major | Milestone: sage-4.7.1
Component: algebra | Keywords: _pari_init_, variable name,
finite field
Work_issues: | Upstream: N/A
Reviewer: Jeroen Demeyer | Author: Simon King, Rob Beezer
Merged: | Dependencies:
------------------------------+---------------------------------------------
Changes (by jdemeyer):
* status: needs_review => needs_work
Comment:
Replying to [comment:15 rbeezer]:
> Good idea, Jeroen. {{{self.polynomial()._pari_with_name(var)}}} hits
the coefficients of an element with a {{{Mod}}}, so the behavior changes.
Wow, nice catch!
The current behaviour is totally wrong, the coefficients '''must''' be hit
by a `Mod`, otherwise we can get wrong results! I remember fixing another
instance of this bug (#10486).
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11530#comment:16>
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.