From 163191fdb7f63e62d19bb70ca56a5662c476a26d Mon Sep 17 00:00:00 2001 From: Gareth Ma Date: Wed, 11 Sep 2024 22:54:10 +0100 Subject: [PATCH] apply review changes --- src/sage/schemes/elliptic_curves/ell_finite_field.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/sage/schemes/elliptic_curves/ell_finite_field.py b/src/sage/schemes/elliptic_curves/ell_finite_field.py index b877f605c77..b1f77da41e8 100755 --- a/src/sage/schemes/elliptic_curves/ell_finite_field.py +++ b/src/sage/schemes/elliptic_curves/ell_finite_field.py @@ -2863,6 +2863,8 @@ def find_q(m, m4_fac, D): continue # This tests whether the curve has given order if Et.has_order(m_val): + # TODO: remove after 38617 + Et.set_order(m_val, check=False) seen.add(Et) yield Et @@ -3167,8 +3169,10 @@ def abs_products_under(bound): E = EllipticCurve(K, j=j0) # `E.twists()` also contains E. for Et in E.twists(): - # `num_checks=1` is sufficient for prime order. + # `num_checks=1` is sufficient for prime order if Et.has_order(N, num_checks=1): + # TODO: remove after 38617 + Et.set_order(N, check=False) yield Et if p != 1: