#15964: Remove superfluous import statement in ell_point
-----------------------------------+------------------------
       Reporter:  cremona          |        Owner:
           Type:  defect           |       Status:  new
       Priority:  minor            |    Milestone:  sage-6.2
      Component:  elliptic curves  |   Resolution:
       Keywords:                   |    Merged in:
        Authors:                   |    Reviewers:
Report Upstream:  N/A              |  Work issues:
         Branch:                   |       Commit:
   Dependencies:                   |     Stopgaps:
-----------------------------------+------------------------

Comment (by nbruin):

 Alternative: changing `ZZ(value)` to `value.lift()`, so that ZZ doesn't
 need to be imported at all.

 Really we'd need to check that R is a quotient of ZZ before attempting any
 of this, not just if R is finite.

 In general: doing in import of ZZ at module instantiation time should be
 cheap enough, but it's not required at all here, since integers mod N come
 with a method to get a representing integer.

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