summaryrefslogtreecommitdiff
path: root/demos
diff options
context:
space:
mode:
Diffstat (limited to 'demos')
-rw-r--r--demos/primes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/primes.c b/demos/primes.c
index 8f5320d08..37a1157f5 100644
--- a/demos/primes.c
+++ b/demos/primes.c
@@ -327,7 +327,7 @@ find_primes (unsigned char *s, mpz_t fr, unsigned long ssize,
goto out;
mpz_add_ui (tmp, fr, (j * sizeof (long) + ij) * 2);
if (mpz_cmp (tmp, siev_sqr_lim) < 0 ||
- mpz_probab_prime_p (tmp, 3))
+ mpz_probab_prime_p (tmp, 10))
report (tmp);
}
}