[Gmp-commit] /var/hg/gmp: 2 new changesets
mercurial at gmplib.org
mercurial at gmplib.org
Fri Oct 28 16:31:53 CEST 2022
details: /var/hg/gmp/rev/c13c064dd0ae
changeset: 18371:c13c064dd0ae
user: Marco Bodrato <bodrato at mail.dm.unipi.it>
date: Fri Oct 28 16:28:36 2022 +0200
description:
mpz/nextprime.c (findnext): Use TMP_ALLOC_TYPE instead of TMP_SALLOC_TYPE
details: /var/hg/gmp/rev/f9298f845ed1
changeset: 18372:f9298f845ed1
user: Marco Bodrato <bodrato at mail.dm.unipi.it>
date: Fri Oct 28 16:31:44 2022 +0200
description:
ChangeLog
diffstat:
ChangeLog | 5 +++++
mpz/nextprime.c | 2 +-
2 files changed, 6 insertions(+), 1 deletions(-)
diffs (24 lines):
diff -r 261268754dec -r f9298f845ed1 ChangeLog
--- a/ChangeLog Fri Sep 30 22:35:09 2022 +0200
+++ b/ChangeLog Fri Oct 28 16:31:44 2022 +0200
@@ -1,3 +1,8 @@
+2022-10-28 Marco Bodrato <bodrato at mail.dm.unipi.it>
+
+ * mpz/nextprime.c (findnext): Use TMP_ALLOC_TYPE to allocate
+ composite array (tx: Jiayi Lin)
+
2022-09-30 Marc Glisse <marc.glisse at inria.fr>
* doc/projects.html: Update URL for MPFR.
diff -r 261268754dec -r f9298f845ed1 mpz/nextprime.c
--- a/mpz/nextprime.c Fri Sep 30 22:35:09 2022 +0200
+++ b/mpz/nextprime.c Fri Oct 28 16:31:44 2022 +0200
@@ -204,7 +204,7 @@
odds_in_composite_sieve = 5 * nbits;
/* composite[2*i] stores if p+2*i is a known composite */
- composite = TMP_SALLOC_TYPE (odds_in_composite_sieve, char);
+ composite = TMP_ALLOC_TYPE (odds_in_composite_sieve, char);
for (;;)
{
More information about the gmp-commit
mailing list