#12517: EllipticCurve(E.a_invariants()) doesn't work
-------------------------------+--------------------------------------------
   Reporter:  was              |          Owner:  cremona 
       Type:  enhancement      |         Status:  new     
   Priority:  minor            |      Milestone:  sage-5.0
  Component:  elliptic curves  |       Keywords:          
Work_issues:                   |       Upstream:  N/A     
   Reviewer:                   |         Author:          
     Merged:                   |   Dependencies:          
-------------------------------+--------------------------------------------
 At some point {{{E.a_invariants()}}} was changed to return a 5-tuple
 instead of a list of 5 numbers.  I have no idea why.  But this means that:
 {{{
 sage: E = EllipticCurve([1..5])
 sage: EllipticCurve(E.a_invariants())
 TypeError: invalid input to EllipticCurve constructor
 }}}

 Ugh.  Fix this, i.e., make the constructor take a tuple or a list.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12517>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to