summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorbjorn Granlund <tege@gmplib.org>2012-12-17 11:19:46 +0100
committerTorbjorn Granlund <tege@gmplib.org>2012-12-17 11:19:46 +0100
commit62c6f9893426a8099708a97a50e6d58245193f99 (patch)
tree0ac2c20b73bd2c6ccae7268258ac698e58f60dc4
parent5978800819b7c1316cde7a978fa01ade843ebb52 (diff)
downloadgmp-62c6f9893426a8099708a97a50e6d58245193f99.tar.gz
From Marco: Fix typos in an ASSERT.
-rw-r--r--mpz/n_pow_ui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mpz/n_pow_ui.c b/mpz/n_pow_ui.c
index d3a902ead..1a457b63d 100644
--- a/mpz/n_pow_ui.c
+++ b/mpz/n_pow_ui.c
@@ -167,7 +167,7 @@ mpz_n_pow_ui (mpz_ptr r, mp_srcptr bp, mp_size_t bsize, unsigned long int e)
mpn_trace ("b", bp, bsize));
ASSERT (bsize == 0 || bp[ABS(bsize)-1] != 0);
- ASSERT (MPN_SAME_OR_SEPARATE2_P (PTR(r), ABSIZ(r), bp, bsize));
+ ASSERT (MPN_SAME_OR_SEPARATE2_P (PTR(r), ALLOC(r), bp, ABS(bsize)));
/* b^0 == 1, including 0^0 == 1 */
if (e == 0)