Skip to content

Commit 6610e3c

Browse files
committed
Return later
1 parent b1afaf3 commit 6610e3c

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
@@ -93,10 +93,10 @@ cdef class fmpz_mod_ctx:
9393
if mod < 1:
9494
raise ValueError("Modulus is expected to be positive")
9595

96-
return
9796
# Set the modulus
9897
fmpz_mod_ctx_set_modulus(self.val, (<fmpz>mod).val)
9998

99+
return
100100
# Check whether the modulus is prime
101101
# TODO: should we use a stronger test?
102102
self._is_prime = fmpz_is_probabprime(self.val.n)

0 commit comments

Comments
 (0)