#6657: EllipticCurve(..., j=...) shouldn't ignore field argument if given.
-------------------------------+--------------------------------------------
Reporter: was | Owner: cremona
Type: defect | Status: new
Priority: major | Milestone: sage-4.3.1
Component: elliptic curves | Keywords:
Work_issues: | Author:
Upstream: N/A | Reviewer:
Merged: |
-------------------------------+--------------------------------------------
Comment(by cremona):
Chris,
You are not quite right. What is deprecated is EllipticCurve(j0), not
EllipticCurve(j=j0):
{{{
sage: EllipticCurve(GF(101)(1728))
/home/john/sage-4.3.1.alpha1/local/bin/sage-ipython:1: DeprecationWarning:
'EllipticCurve(j)' is deprecated; use 'EllipticCurve_from_j(j)' or
'EllipticCurve(j=j)' instead.
#!/usr/bin/env python
Elliptic Curve defined by y^2 = x^3 + x over Finite Field of size 101
sage: EllipticCurve(j=GF(101)(1728))
Elliptic Curve defined by y^2 = x^3 + x over Finite Field of size 101
}}}
Now I cannot remember when that deprecation was put in, hence when it
should be removed.
Anyway, Victor's point is a valid one, and I'll put up a patch!
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6657#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 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.