Skip to content
This repository was archived by the owner on Feb 1, 2023. It is now read-only.

Commit b41abf1

Browse files
author
Release Manager
committed
Trac #30805: Fix doctest errors/segfaults with system FLINT 2.6 (monsky_washnitzer)
As reported in https://groups.google.com/d/msg/sage- release/PByUmh8WuIM/NzB6gNkpAwAJ (and similar) this leads to "Killed due to abort" for example on `debian-testing`. Also on `ubuntu-groovy-standard` (https://github.com/sagemath/sage/runs/1270680095) We carve out a patch from #29719 to make it work Blocker for 9.2 because it gives a segfault. URL: https://trac.sagemath.org/30805 Reported by: mkoeppe Ticket author(s): Dima Pasechnik Reviewer(s): Matthias Koeppe
2 parents f048827 + 14fd292 commit b41abf1

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

build/pkgs/configure/checksums.ini

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
tarball=configure-VERSION.tar.gz
2-
sha1=f724be3bb37dd71f5b07dc1b4542a4ad23461e47
3-
md5=2a25fb97ee7e9c9eaa85cdc6e1082a2e
4-
cksum=1804502685
2+
sha1=5061e9d40e35c0c9247e61a3f80b664e9c8e8b5e
3+
md5=9d0278359e22b8b27dc27ce944f7301e
4+
cksum=1135010098
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
70d165564b827f40db047c1ce0f18aed56c4ad1b
1+
afc935a952e5aa5afd89acc39bac645b71768813

src/sage/schemes/hyperelliptic_curves/monsky_washnitzer.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1876,9 +1876,9 @@ def __init__(self, Q, R=None, invert_y=True):
18761876
if not hasattr(self, '_curve'):
18771877
if self._Q.degree() == 3:
18781878
ainvs = [0, self._Q[2], 0, self._Q[1], self._Q[0]]
1879-
self._curve = EllipticCurve(ainvs)
1879+
self._curve = EllipticCurve(ainvs, check_squarefree=R.is_field())
18801880
else:
1881-
self._curve = HyperellipticCurve(self._Q)
1881+
self._curve = HyperellipticCurve(self._Q, check_squarefree=R.is_field())
18821882

18831883
else:
18841884
raise NotImplementedError("Must be an elliptic curve or polynomial "

0 commit comments

Comments
 (0)