[mpfi] 27/39: Unapply patch to the master branch.

Jerome Benoit calculus-guest at moszumanska.debian.org
Sat May 23 02:12:13 UTC 2015


This is an automated email from the git hooks/post-receive script.

calculus-guest pushed a commit to branch master
in repository mpfi.

commit 1b1c8195f49c2d5de080ee7406a47e80216ee187
Author: Laurent Fousse <laurent at komite.net>
Date:   Tue Sep 27 21:55:53 2011 +0200

    Unapply patch to the master branch.
---
 tests/tis_zero.c | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/tests/tis_zero.c b/tests/tis_zero.c
index ebeffe1..4937dd4 100644
--- a/tests/tis_zero.c
+++ b/tests/tis_zero.c
@@ -60,16 +60,13 @@ main (int argc, char **argv)
     mpfr_set_prec (x, p);
     mpfi_set_prec (interval, p);
 
-    random_mpfr (x);
+    random_mpfr (x); /* x != 0*/
     mpfi_set_fr (interval, x);
-    if (mpfi_is_zero (interval) && !mpfr_zero_p (x)) {
+    if (mpfi_is_zero (interval)) {
       print_error (interval);
     }
 
     random_mpfr (x);
-    if (mpfr_zero_p (x))
-      mpfr_nextabove (x);
-    /* x != 0*/
     mpfi_put_fr (interval, x);
     if (mpfi_is_zero (interval)) {
       print_error (interval);

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/mpfi.git



More information about the debian-science-commits mailing list