[PPL-devel] [GIT] ppl/ppl(floating_point): Fixed a bug.

Fabio Bossi bossi at cs.unipr.it
Mon Oct 18 16:55:32 CEST 2010


Module: ppl/ppl
Branch: floating_point
Commit: 951fdb8a9ff89a2ae59fcc1f726a2d4b05af445a
URL:    http://www.cs.unipr.it/git/gitweb.cgi?p=ppl/ppl.git;a=commit;h=951fdb8a9ff89a2ae59fcc1f726a2d4b05af445a

Author: Fabio Bossi <bossi at cs.unipr.it>
Date:   Mon Oct 18 16:53:27 2010 +0200

Fixed a bug.

---

 src/BD_Shape.templates.hh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/BD_Shape.templates.hh b/src/BD_Shape.templates.hh
index b2187f2..6df152e 100644
--- a/src/BD_Shape.templates.hh
+++ b/src/BD_Shape.templates.hh
@@ -4510,7 +4510,7 @@ BD_Shape<T>
     const N& negated_l = dbm[i+1][0];
     if (!is_plus_infinity(negated_l)) {
       neg_assign_r(tmp, negated_l, ROUND_DOWN);
-      if (!dest.restrict_lower(i, negated_l.raw_value()))
+      if (!dest.restrict_lower(i, tmp.raw_value()))
         return;
     }
   }




More information about the PPL-devel mailing list