We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8d69a4e commit c454681Copy full SHA for c454681
2 files changed
src/flint/types/nmod.pxd
@@ -23,6 +23,7 @@ cdef class nmod_ctx:
23
cdef nmod new_nmod(self)
24
25
26
+@cython.no_gc
27
cdef class nmod(flint_scalar):
28
cdef mp_limb_t val
29
cdef nmod_ctx ctx
src/flint/types/nmod.pyx
@@ -22,6 +22,7 @@ from flint.utils.flint_exceptions import DomainError
22
cdef dict _nmod_ctx_cache = {}
cdef class nmod_ctx:
"""
Context object for creating :class:`~.nmod` initalised
@@ -163,6 +164,7 @@ cdef class nmod_ctx:
163
164
return r
165
166
167
168
169
170
The nmod type represents elements of Z/nZ for word-size n.
0 commit comments