#15192: add is_unit() for residue fields
-------------------------------------------+----------------------------
       Reporter:  saraedum                 |        Owner:
           Type:  enhancement              |       Status:  needs_review
       Priority:  trivial                  |    Milestone:  sage-6.0
      Component:  categories               |   Resolution:
       Keywords:                           |    Merged in:
        Authors:  Julian Rueth             |    Reviewers:
Report Upstream:  N/A                      |  Work issues:
         Branch:  u/saraedum/ticket/15192  |       Commit:
   Dependencies:                           |     Stopgaps:
-------------------------------------------+----------------------------

Comment (by pbruin):

 I think there is a more fundamental problem: in your example,
 {{{
 sage: isinstance(a, FieldElement)
 False
 }}}
 The class `FieldElement` does have an `is_unit()` method that does the
 right thing, but evidently it is not used because of this.

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

Reply via email to