diff options
author | Marco Bodrato <bodrato@mail.dm.unipi.it> | 2016-12-28 18:39:40 +0100 |
---|---|---|
committer | Marco Bodrato <bodrato@mail.dm.unipi.it> | 2016-12-28 18:39:40 +0100 |
commit | bc7028c9cd73b6dc74f55c0972c2588717a8dd92 (patch) | |
tree | eb3cf8b36ec47507b793c879985dc5139241eb98 /mpz/lucnum_ui.c | |
parent | 1e88b60e701eddf008f3bb4d8212761d79a90082 (diff) | |
download | gmp-bc7028c9cd73b6dc74f55c0972c2588717a8dd92.tar.gz |
Use MPZ_NEWALLOC and other macros result
Diffstat (limited to 'mpz/lucnum_ui.c')
-rw-r--r-- | mpz/lucnum_ui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mpz/lucnum_ui.c b/mpz/lucnum_ui.c index 7ac09fe48..a13584bb4 100644 --- a/mpz/lucnum_ui.c +++ b/mpz/lucnum_ui.c @@ -76,7 +76,7 @@ mpz_lucnum_ui (mpz_ptr ln, unsigned long n) since square or mul used below might need an extra limb over the true size */ lalloc = MPN_FIB2_SIZE (n) + 2; - lp = MPZ_REALLOC (ln, lalloc); + lp = MPZ_NEWALLOC (ln, lalloc); TMP_MARK; xalloc = lalloc; |