#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 pbruin):

 The construction of the non-identical `k1` and `k2` appears to be due to a
 subtlety involving the `FiniteFieldFactory.other_keys()` method and an
 intermediate construction of another finite field (defined by the same
 data but with `impl=None`) during the construction of a common parent for
 the computation of `a/2`.  The keys returned by `other_keys()` only differ
 in the `impl` keyword.  I think the best solution is to always set the
 `impl` keyword when constructing the key (as opposed to allowing it to be
 `None`).  Then the use of this `other_keys()` method, which feels to me
 somewhat like a hack, can be avoided.

--
Ticket URL: <http://trac.sagemath.org/ticket/16934#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 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.

Reply via email to