[Gmp-commit] /var/hg/gmp: Typo in last change. (WARNING: mpz_inverse is not t...
mercurial at gmplib.org
mercurial at gmplib.org
Fri Feb 24 10:07:54 CET 2012
details: /var/hg/gmp/rev/a96b5b4c7ef2
changeset: 14668:a96b5b4c7ef2
user: Marco Bodrato <bodrato at mail.dm.unipi.it>
date: Fri Feb 24 10:06:38 2012 +0100
description:
Typo in last change. (WARNING: mpz_inverse is not tested!)
diffstat:
mpz/invert.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r ceb146131bff -r a96b5b4c7ef2 mpz/invert.c
--- a/mpz/invert.c Fri Feb 24 09:57:10 2012 +0100
+++ b/mpz/invert.c Fri Feb 24 10:06:38 2012 +0100
@@ -46,7 +46,7 @@
mpz_gcdext (gcd, tmp, (mpz_ptr) 0, x, n);
/* If no inverse existed, return with an indication of that. */
- if (MPZ_EQUAL_1_P (gcd))
+ if (!MPZ_EQUAL_1_P (gcd))
{
TMP_FREE;
return 0;
More information about the gmp-commit
mailing list