[Gmp-commit] /var/hg/gmp: Amend last change.

mercurial at gmplib.org mercurial at gmplib.org
Wed Jan 25 11:04:51 UTC 2017


details:   /var/hg/gmp/rev/3c98fece2af2
changeset: 17215:3c98fece2af2
user:      Torbjorn Granlund <tg at gmplib.org>
date:      Wed Jan 25 12:04:47 2017 +0100
description:
Amend last change.

diffstat:

 tune/tuneup.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 3424fde4ebc2 -r 3c98fece2af2 tune/tuneup.c
--- a/tune/tuneup.c	Tue Jan 24 22:41:36 2017 +0100
+++ b/tune/tuneup.c	Wed Jan 25 12:04:47 2017 +0100
@@ -2718,7 +2718,7 @@
 
   chars_per_limb = mp_bases[base].chars_per_limb;
   un = s->size / chars_per_limb + 1;
-  powtab_mem = TMP_BALLOC_LIMBS (mpn_dc_set_str_powtab_alloc (un));
+  powtab_mem = TMP_BALLOC_LIMBS (mpn_str_powtab_alloc (un));
   size_t n_pows = mpn_compute_powtab (powtab, powtab_mem, un, base);
   powers_t *pt = powtab + n_pows;
   tp = TMP_BALLOC_LIMBS (mpn_dc_set_str_itch (un));


More information about the gmp-commit mailing list