summaryrefslogtreecommitdiff
path: root/mpz/bin_uiui.c
diff options
context:
space:
mode:
authorMarco Bodrato <bodrato@mail.dm.unipi.it>2012-04-09 18:07:50 +0200
committerMarco Bodrato <bodrato@mail.dm.unipi.it>2012-04-09 18:07:50 +0200
commitdca593b5d9cf4bb920985250beea56db1963fe2e (patch)
tree24debc50001ed1b5e86e884322bd21dff730a1b5 /mpz/bin_uiui.c
parent82b85fdb4dd955e9686f1772a560bca0f4af00f6 (diff)
downloadgmp-dca593b5d9cf4bb920985250beea56db1963fe2e.tar.gz
typo in previous change.
Diffstat (limited to 'mpz/bin_uiui.c')
-rw-r--r--mpz/bin_uiui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mpz/bin_uiui.c b/mpz/bin_uiui.c
index 26aeac7ef..77a0b391a 100644
--- a/mpz/bin_uiui.c
+++ b/mpz/bin_uiui.c
@@ -431,7 +431,7 @@ mpz_bin_uiui (mpz_ptr r, unsigned long int n, unsigned long int k)
k = MIN (k, n-k);
if (n < GMP_NUMB_BITS)
mpz_bc_bin_uiui (r, n, k);
- else if (k < 25)
+ else if (k < MAX_K)
mpz_smallk_bin_uiui (r, n, k);
else
mpz_bdiv_bin_uiui (r, n, k);