#14888: Make FiniteField_pari_ffelt the default for generic finite fields
-------------------------------------+-------------------------------------
Reporter: pbruin | Owner: cpernet
Type: enhancement | Status: needs_work
Priority: major | Milestone: sage-5.13
Component: finite rings | Resolution:
Keywords: FiniteField | Merged in:
performance | Reviewers: Jean-Pierre Flori,
Authors: Peter Bruin | Jeroen Demeyer
Report Upstream: N/A | Work issues:
Branch: | Commit:
Dependencies: #12142, #15124, | Stopgaps:
#15125 |
-------------------------------------+-------------------------------------
Comment (by pbruin):
Replying to [comment:27 jdemeyer]:
> > it must be the conversion from Python `int` to `pari_ffelt` that is
causing the problem
> I also guess that this is the problem.
In the line `ret = ret + c`, could you replace `c` by `base(c)` to do the
coercion explicitly, just to make sure it isn't some quirk in the coercion
system? Or insert a line verifying that `c == base(c)` to test directly
whether it is the conversion that is at fault?
--
Ticket URL: <http://trac.sagemath.org/ticket/14888#comment:28>
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/groups/opt_out.