diff options
author | Marco Bodrato <bodrato@mail.dm.unipi.it> | 2016-11-30 18:46:27 +0100 |
---|---|---|
committer | Marco Bodrato <bodrato@mail.dm.unipi.it> | 2016-11-30 18:46:27 +0100 |
commit | 8728f1104948e2245f3fdd0d48c3b21c18238e24 (patch) | |
tree | a1ce9f332fcb40a5e7e3d1d1dcf60be6e78c5063 /mpz/oddfac_1.c | |
parent | 4733c31822b3295dcf89875f469b2baddf737d64 (diff) | |
download | gmp-8728f1104948e2245f3fdd0d48c3b21c18238e24.tar.gz |
mpz/oddfac_1.c: Disable an ASSERT that needs a revision.
Diffstat (limited to 'mpz/oddfac_1.c')
-rw-r--r-- | mpz/oddfac_1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mpz/oddfac_1.c b/mpz/oddfac_1.c index 878294359..d7cc05c0b 100644 --- a/mpz/oddfac_1.c +++ b/mpz/oddfac_1.c @@ -208,7 +208,7 @@ mpz_2multiswing_1 (mpz_ptr x, mp_limb_t n, mp_ptr sieve, mp_ptr factors) s = limb_apprsqrt(n); ASSERT (s >= 5); s = n_to_bit (s); - ASSERT (bit_to_n (s) * bit_to_n (s) > n); + /* ASSERT (bit_to_n (s+1) * bit_to_n (s+1) > n); */ ASSERT (s <= n_to_bit (n / 3)); LOOP_ON_SIEVE_BEGIN (prime, n_to_bit (5), s, 0,sieve); SWING_A_PRIME (prime, n, prod, max_prod, factors, j); |