#16743: Extend IsogenyClass_EC to work over number fields
-------------------------------------+-------------------------------------
       Reporter:  cremona            |        Owner:
           Type:  enhancement        |       Status:  needs_work
       Priority:  major              |    Milestone:  sage-6.4
      Component:  elliptic curves    |   Resolution:
       Keywords:  isogeny class      |    Merged in:
        Authors:  John Cremona       |    Reviewers:
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  u/cremona/ticket/16743             |  cfd3f54410084eaa0d051b8da6a618d8e65074b0
   Dependencies:  #11327, #16764,    |     Stopgaps:
  #16806                             |
-------------------------------------+-------------------------------------

Comment (by jdemeyer):

 You can simplify
 {{{
 from sage.misc.all import flatten
 P = flatten([pp for pp in [self.primes_above(p) for p in primes(B+1)]])
 }}}
 by
 {{{
 P = [pp for p in primes(B+1) for pp in self.primes_above(p)]
 }}}
 (note the order of the `for` statements!)

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