Skip to content

Commit b9664d3

Browse files
committed
Fix the segmentation fault
1 parent d59b62d commit b9664d3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/sage/rings/lazy_series.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@
221221
# https://www.gnu.org/licenses/
222222
# ****************************************************************************
223223

224-
from sage.structure.element import Element, RingElement, parent
224+
from sage.structure.element import Element, ModuleElement, RingElement, parent
225225
from sage.structure.richcmp import op_EQ, op_NE
226226
from sage.misc.misc_c import prod
227227
from sage.arith.power import generic_power
@@ -262,7 +262,7 @@
262262
)
263263

264264

265-
class LazyModuleElement(Element):
265+
class LazyModuleElement(ModuleElement):
266266
r"""
267267
A lazy sequence with a module structure given by term-wise
268268
addition and scalar multiplication.

0 commit comments

Comments
 (0)