diff options
author | tege <tege@gmplib.org> | 2002-05-11 16:23:33 +0200 |
---|---|---|
committer | tege <tege@gmplib.org> | 2002-05-11 16:23:33 +0200 |
commit | 10a832af192f93cdd11fc282e0fbfdb1e6de4450 (patch) | |
tree | 404189b19f64c02ef996eaba3320dcdcdd6e0a76 | |
parent | ffa28ae1b6abb9deabcdf5bcbbef64b7d74051dd (diff) | |
download | gmp-10a832af192f93cdd11fc282e0fbfdb1e6de4450.tar.gz |
Adjust allocation of qp temporary area.
-rw-r--r-- | mpn/generic/rootrem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mpn/generic/rootrem.c b/mpn/generic/rootrem.c index 0244bd810..168baa9e5 100644 --- a/mpn/generic/rootrem.c +++ b/mpn/generic/rootrem.c @@ -84,7 +84,7 @@ mpn_rootrem (mp_ptr rootp, mp_ptr remp, xn = (xnb + GMP_NUMB_BITS - 1) / GMP_NUMB_BITS; - qp = TMP_ALLOC_LIMBS (un); /* should try and reduce this allocation */ + qp = TMP_ALLOC_LIMBS (un + 1); xp = TMP_ALLOC_LIMBS (xn + 1); /* Set initial root to only ones. This is an overestimate of the actual root |