From 92a768ae57426a5e9aa34c0de6a7366809ceca2e Mon Sep 17 00:00:00 2001 From: Matthias Koeppe Date: Thu, 27 Jun 2024 18:25:56 -0700 Subject: [PATCH] Fixup --- src/sage/schemes/affine/affine_point.py | 1 - src/sage/schemes/elliptic_curves/ell_point.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/sage/schemes/affine/affine_point.py b/src/sage/schemes/affine/affine_point.py index 2e1d4821bc5..4aedd5e5f26 100644 --- a/src/sage/schemes/affine/affine_point.py +++ b/src/sage/schemes/affine/affine_point.py @@ -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() diff --git a/src/sage/schemes/elliptic_curves/ell_point.py b/src/sage/schemes/elliptic_curves/ell_point.py index 6262cde5c06..53cbad7f266 100644 --- a/src/sage/schemes/elliptic_curves/ell_point.py +++ b/src/sage/schemes/elliptic_curves/ell_point.py @@ -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())