[Gmp-commit] /var/hg/gmp: changed mpn/generic/toom_interpolate_8pts.c: clarif...

mercurial at gmplib.org mercurial at gmplib.org
Thu Nov 13 05:43:42 UTC 2014


details:   /var/hg/gmp/rev/1b2fa94bdd8e
changeset: 16513:1b2fa94bdd8e
user:      Marco Bodrato <bodrato at mail.dm.unipi.it>
date:      Thu Nov 13 06:42:25 2014 +0100
description:
changed mpn/generic/toom_interpolate_8pts.c: clarify an ASSERT (spotted by Hans Wennborg)

diffstat:

 mpn/generic/toom_interpolate_8pts.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (10 lines):

diff -r ed2343ef586b -r 1b2fa94bdd8e mpn/generic/toom_interpolate_8pts.c
--- a/mpn/generic/toom_interpolate_8pts.c	Wed Nov 12 20:45:07 2014 +0100
+++ b/mpn/generic/toom_interpolate_8pts.c	Thu Nov 13 06:42:25 2014 +0100
@@ -208,5 +208,5 @@
   if (LIKELY(spt != n))
     MPN_INCR_U (pp + 8*n, spt - n, cy + r3[3*n]);
   else
-    ASSERT (r3[3*n] | cy == 0);
+    ASSERT (r3[3*n] + cy == 0);
 }


More information about the gmp-commit mailing list