[Gmp-commit] /var/hg/gmp-5.1: Partially backport changeset 15502:5cc6b2feb2f3...

mercurial at gmplib.org mercurial at gmplib.org
Mon Jul 1 19:20:52 CEST 2013


details:   /var/hg/gmp-5.1/rev/6540e0b2925e
changeset: 15429:6540e0b2925e
user:      Marco Bodrato <bodrato at mail.dm.unipi.it>
date:      Mon Jul 01 19:16:32 2013 +0200
description:
Partially backport changeset 15502:5cc6b2feb2f3 from mainline.

diffstat:

 tests/mpz/t-mfac_uiui.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r 92747ad60809 -r 6540e0b2925e tests/mpz/t-mfac_uiui.c
--- a/tests/mpz/t-mfac_uiui.c	Mon Jun 17 13:33:12 2013 +0200
+++ b/tests/mpz/t-mfac_uiui.c	Mon Jul 01 19:16:32 2013 +0200
@@ -66,7 +66,7 @@
       MPZ_CHECK_FORMAT (res);
       if (mpz_cmp (ref[m], res) != 0)
         {
-          printf ("mpz_mfac_uiui(%lu,&i) wrong\n", n, MULTIFAC_WHEEL);
+          printf ("mpz_mfac_uiui(%lu,%d) wrong\n", n, MULTIFAC_WHEEL);
           printf ("  got  "); mpz_out_str (stdout, 10, res); printf("\n");
           printf ("  want "); mpz_out_str (stdout, 10, ref[m]); printf("\n");
           abort ();
@@ -75,7 +75,7 @@
       MPZ_CHECK_FORMAT (res);
       if (mpz_cmp (ref2[m2], res) != 0)
         {
-          printf ("mpz_mfac_uiui(%lu,&i) wrong\n", n, MULTIFAC_WHEEL2);
+          printf ("mpz_mfac_uiui(%lu,%d) wrong\n", n, MULTIFAC_WHEEL2);
           printf ("  got  "); mpz_out_str (stdout, 10, res); printf("\n");
           printf ("  want "); mpz_out_str (stdout, 10, ref2[m2]); printf("\n");
           abort ();


More information about the gmp-commit mailing list