Skip to content

Commit 94f33e8

Browse files
author
Matthias Koeppe
committed
Fixup
1 parent 35581c5 commit 94f33e8

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/sage/schemes/affine/affine_point.py

-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
from sage.schemes.generic.morphism import SchemeMorphism_point, SchemeMorphism
2828
from sage.structure.sequence import Sequence
2929

30-
lazy_import('sage.schemes.generic.morphism', 'SchemeMorphism')
3130
lazy_import('sage.schemes.elliptic_curves.ell_point', 'EllipticCurvePoint_field')
3231

3332
_NumberFields = NumberFields()

src/sage/schemes/elliptic_curves/ell_point.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ def __init__(self, curve, v, check=True):
298298
"""
299299
point_homset = curve.point_homset()
300300
R = point_homset.value_ring()
301-
if isinstance(v, (SchemeMorphism, EllipticCurvePoint_field))
301+
if isinstance(v, (SchemeMorphism, EllipticCurvePoint_field)):
302302
v = list(v)
303303
elif v == 0:
304304
v = (R.zero(), R.one(), R.zero())

0 commit comments

Comments
 (0)