From 4b35649aedf9ec8a5febad7effb8f6ada19c5287 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 79aa1e15aac..0b0ef5c21b3 100644 --- a/src/sage/libs/singular/singular.pyx +++ b/src/sage/libs/singular/singular.pyx @@ -1545,7 +1545,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