Skip to content

Commit

Permalink
[mq]: ell_curve_constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
robertwb committed Oct 14, 2008
1 parent 0d60eaa commit 87221e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sage/schemes/elliptic_curves/constructor.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def EllipticCurve(x, y=None):
if isinstance(x, str):
return ell_rational_field.EllipticCurve_rational_field(x)

if rings.is_RingElement(x):
if rings.is_RingElement(x) and y is None:
# Fixed for all characteristics and cases by John Cremona
j=x
F=j.parent().fraction_field()
Expand Down

0 comments on commit 87221e9

Please sign in to comment.