Skip to content

Commit

Permalink
src/sage/schemes/elliptic_curves/cm.py: Add missing import
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Koeppe committed Apr 2, 2023
1 parent 3305e35 commit 0234b30
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/sage/schemes/elliptic_curves/cm.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,8 @@ def is_HCP(f, check_monic_irreducible=True):
p = pmin-1
n = 0
from sage.arith.misc import next_prime
from sage.schemes.elliptic_curves.constructor import EllipticCurve

while True:
p = next_prime(p)
n += 1
Expand Down

0 comments on commit 0234b30

Please sign in to comment.