Skip to content

Commit

Permalink
Fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Koeppe committed Jul 17, 2024
1 parent ff20ad6 commit 92a768a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/sage/schemes/affine/affine_point.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
from sage.schemes.generic.morphism import SchemeMorphism_point, SchemeMorphism
from sage.structure.sequence import Sequence

lazy_import('sage.schemes.generic.morphism', 'SchemeMorphism')
lazy_import('sage.schemes.elliptic_curves.ell_point', 'EllipticCurvePoint_field')

_NumberFields = NumberFields()
Expand Down
2 changes: 1 addition & 1 deletion src/sage/schemes/elliptic_curves/ell_point.py
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ def __init__(self, curve, v, check=True):
"""
point_homset = curve.point_homset()
R = point_homset.value_ring()
if isinstance(v, (SchemeMorphism, EllipticCurvePoint_field))
if isinstance(v, (SchemeMorphism, EllipticCurvePoint_field)):
v = list(v)
elif v == 0:
v = (R.zero(), R.one(), R.zero())
Expand Down

0 comments on commit 92a768a

Please sign in to comment.