summaryrefslogtreecommitdiff
path: root/mpz/oddfac_1.c
diff options
context:
space:
mode:
authorMarco Bodrato <bodrato@mail.dm.unipi.it>2012-06-24 19:57:29 +0200
committerMarco Bodrato <bodrato@mail.dm.unipi.it>2012-06-24 19:57:29 +0200
commit099a412390e030f7fdfe6479c2a6794d6baf42a0 (patch)
treec4c35256cbaeff8e1a1df465d6640b093ab4c2fa /mpz/oddfac_1.c
parentb477cb61ab19e33293c0e8e1ddef05989c92c9f6 (diff)
downloadgmp-099a412390e030f7fdfe6479c2a6794d6baf42a0.tar.gz
mpz/oddfac_1.c: Use the ASSERT_CODE macro
Diffstat (limited to 'mpz/oddfac_1.c')
-rw-r--r--mpz/oddfac_1.c6
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;