Skip to content

Commit 42de9f2

Browse files
committed
Don't check is_prime in fmpz_mod
1 parent 8bf1a8f commit 42de9f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/flint/types/fmpz_mod.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ cdef class fmpz_mod_ctx:
104104

105105
# Check whether the modulus is prime
106106
# TODO: should we use a stronger test?
107-
self._is_prime = fmpz_is_probabprime(self.val.n)
107+
# self._is_prime = fmpz_is_probabprime(self.val.n)
108108

109109
def modulus(self):
110110
"""

0 commit comments

Comments
 (0)