#16934: Finite fields coercion bug
----------------------------+------------------------
Reporter: jdemeyer | Owner:
Type: defect | Status: new
Priority: major | Milestone: sage-6.4
Component: coercion | Resolution:
Keywords: | Merged in:
Authors: | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
Dependencies: | Stopgaps:
----------------------------+------------------------
Comment (by jdemeyer):
Replying to [comment:10 pbruin]:
> {{{
> #!diff
> --- a/src/sage/rings/finite_rings/element_pari_ffelt.pyx
> +++ b/src/sage/rings/finite_rings/element_pari_ffelt.pyx
> @@ -202,7 +202,7 @@ cdef class
FiniteFieldElement_pari_ffelt(FinitePolyExtElement):
> cdef Integer xi
>
> if isinstance(x, FiniteFieldElement_pari_ffelt):
> - if self._parent is
(<FiniteFieldElement_pari_ffelt>x)._parent:
> + if self._parent ==
(<FiniteFieldElement_pari_ffelt>x)._parent:
> pari_catch_sig_on()
> self.construct((<FiniteFieldElement_pari_ffelt>x).val)
> else:
> }}}
Would you propose to make the above change, or simply to close as ticket
as dupe of #16855?
--
Ticket URL: <http://trac.sagemath.org/ticket/16934#comment:11>
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/d/optout.