#11685: Pari finite field extension: element created by list not recognised as
zero
----------------------------------------+-----------------------------------
Reporter: johanbosman | Owner: AlexGhitza
Type: defect | Status: needs_review
Priority: major | Milestone: sage-4.7.2
Component: algebra | Keywords: finite fields, pari
Work_issues: | Upstream: N/A
Reviewer: Simon King, Johan Bosman | Author: Johan Bosman, Jeroen
Demeyer
Merged: | Dependencies:
----------------------------------------+-----------------------------------
Changes (by jdemeyer):
* status: needs_work => needs_review
Comment:
Replying to [comment:23 SimonKing]:
> I mean, the only problem with
`k([k([0])._FiniteField_ext_pariElement__value])` in your patch is the
fact that the pari value (which, after all, is zero) can not be converted
into the zero of a finite field.
This is not true, because this problem is not specific to zero. The
problem really is that conversion of PARI finite field elements to `ZZ`
fails. I rewrote the PARI -> ZZ conversion to fix this (the old code used
strings(!) for the conversion)
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11685#comment:24>
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.