From c3e8e8ae875e8bdadba45f8f17f84c23d6e650f7 Mon Sep 17 00:00:00 2001 From: Dima Pasechnik Date: Thu, 11 Apr 2024 22:05:43 +0100 Subject: [PATCH] remove a stray leftover this causes a segfault with Ctrl-C with probability about 1/3. --- src/sage/libs/singular/singular.pyx | 1 - 1 file changed, 1 deletion(-) diff --git a/src/sage/libs/singular/singular.pyx b/src/sage/libs/singular/singular.pyx index e256949298e..4b0a11ec643 100644 --- a/src/sage/libs/singular/singular.pyx +++ b/src/sage/libs/singular/singular.pyx @@ -1544,7 +1544,6 @@ cdef inline number *sa2si_ZZmod(IntegerMod_abstract d, ring *_ring) noexcept: sage: P(3) 3 """ - nr2mModul = d.parent().characteristic() if _ring != currRing: rChangeCurrRing(_ring) cdef number *nn