summaryrefslogtreecommitdiff
path: root/mpz/cfdiv_r_2exp.c
diff options
context:
space:
mode:
authorKevin Ryde <user42@zip.com.au>2001-03-05 21:22:05 +0100
committerKevin Ryde <user42@zip.com.au>2001-03-05 21:22:05 +0100
commit8eee4ed9ce1de60cc09dfba89c4e928c8767309b (patch)
treedc00a0e663df4d568e293a2e51f0f0de1aab4d1f /mpz/cfdiv_r_2exp.c
parent446f0ce35885c929f3733f9086acbed0212c09c7 (diff)
downloadgmp-8eee4ed9ce1de60cc09dfba89c4e928c8767309b.tar.gz
Slight change to:
* mpz/cfdiv_r_2exp.c (cfdiv_r_2exp): Reread `up' after realloc of w. Only need the second spot of this, the first one was under w!=u.
Diffstat (limited to 'mpz/cfdiv_r_2exp.c')
-rw-r--r--mpz/cfdiv_r_2exp.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/mpz/cfdiv_r_2exp.c b/mpz/cfdiv_r_2exp.c
index cb103992b..bf28eae10 100644
--- a/mpz/cfdiv_r_2exp.c
+++ b/mpz/cfdiv_r_2exp.c
@@ -67,7 +67,6 @@ cfdiv_r_2exp (mpz_ptr w, mpz_srcptr u, unsigned long cnt, int dir)
{
i = MIN (abs_usize, limb_cnt+1);
MPZ_REALLOC (w, i);
- up = PTR(u);
wp = PTR(w);
MPN_COPY (wp, up, i);