diff options
author | Marco Bodrato <bodrato@mail.dm.unipi.it> | 2012-06-24 19:57:29 +0200 |
---|---|---|
committer | Marco Bodrato <bodrato@mail.dm.unipi.it> | 2012-06-24 19:57:29 +0200 |
commit | 099a412390e030f7fdfe6479c2a6794d6baf42a0 (patch) | |
tree | c4c35256cbaeff8e1a1df465d6640b093ab4c2fa /mpz | |
parent | b477cb61ab19e33293c0e8e1ddef05989c92c9f6 (diff) | |
download | gmp-099a412390e030f7fdfe6479c2a6794d6baf42a0.tar.gz |
mpz/oddfac_1.c: Use the ASSERT_CODE macro
Diffstat (limited to 'mpz')
-rw-r--r-- | mpz/oddfac_1.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mpz/oddfac_1.c b/mpz/oddfac_1.c index a6bc9d263..e1ce119a4 100644 --- a/mpz/oddfac_1.c +++ b/mpz/oddfac_1.c @@ -367,9 +367,9 @@ mpz_oddfac_1 (mpz_ptr x, mp_limb_t n, unsigned flag) /* 2-multiswing(n) < 2^(n-1)*sqrt(n/pi) < 2^(n+GMP_NUMB_BITS); one more can be overwritten by mul, another for the sieve */ MPZ_TMP_INIT (mswing, size); -#if WANT_ASSERT - SIZ(mswing) = 0; /* Initialize size, so that ASSERT can check it correctly. */ -#endif + /* Initialize size, so that ASSERT can check it correctly. */ + ASSERT_CODE (SIZ (mswing) = 0); + /* Put the sieve on the second half, it will be overwritten by the last mswing. */ sieve = PTR (mswing) + size / 2 + 1; |