[PPL-devel] [GIT] ppl/ppl(master): Moved misplaced parentheses.

Roberto Bagnara bagnara at cs.unipr.it
Tue Oct 11 20:23:03 CEST 2011


Module: ppl/ppl
Branch: master
Commit: 24649b05a7bae034f4f502997e57ad24e61e5d6f
URL:    http://www.cs.unipr.it/git/gitweb.cgi?p=ppl/ppl.git;a=commit;h=24649b05a7bae034f4f502997e57ad24e61e5d6f

Author: Roberto Bagnara <bagnara at cs.unipr.it>
Date:   Tue Oct 11 20:22:19 2011 +0200

Moved misplaced parentheses.

---

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

diff --git a/src/CO_Tree.inlines.hh b/src/CO_Tree.inlines.hh
index dc2e53a..6e1404a 100644
--- a/src/CO_Tree.inlines.hh
+++ b/src/CO_Tree.inlines.hh
@@ -792,7 +792,7 @@ inline bool
 CO_Tree::tree_iterator::is_right_child() const {
   if (is_root())
     return false;
-  return ((i & 2*offset) != 0);
+  return (i & (2*offset)) != 0;
 }
 
 inline bool




More information about the PPL-devel mailing list