We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a6e928e commit 0aea29cCopy full SHA for 0aea29c
src/sage/schemes/elliptic_curves/cm.py
@@ -233,6 +233,13 @@ def is_HCP(f, check_monic_irreducible=True):
233
sage: all(not is_HCP(hilbert_class_polynomial(D) + 1)
234
....: for D in srange(-4,-100,-1) if D.is_discriminant())
235
True
236
+
237
+ Ensure that :issue:`37471` is fixed::
238
239
+ from sage.schemes.elliptic_curves.cm import is_HCP
240
+ set_random_seed(297388353221545796156853787333338705098)
241
+ is_HCP(hilbert_class_polynomial(-55))
242
+ -55
243
"""
244
zero = ZZ(0)
245
# optional check that input is monic and irreducible
0 commit comments