[PPL-devel] [GIT] ppl/ppl(pip): Removed invalid optimization in context compatibility check.

François Galea francois.galea at uvsq.fr
Thu Oct 22 12:54:22 CEST 2009


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

Author: François Galea <francois.galea at uvsq.fr>
Date:   Thu Oct 22 11:32:19 2009 +0200

Removed invalid optimization in context compatibility check.

---

 src/PIP_Tree.cc |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/src/PIP_Tree.cc b/src/PIP_Tree.cc
index 6f04139..1047be0 100644
--- a/src/PIP_Tree.cc
+++ b/src/PIP_Tree.cc
@@ -686,8 +686,6 @@ PIP_Solution_Node::row_sign(const Row &x) {
 
 bool
 PIP_Solution_Node::compatibility_check(const Matrix &ctx, const Row &cnst) {
-  if (ctx.num_rows() == 0)
-    return true;
   Matrix s(ctx);
   s.add_row(cnst);
   dimension_type i, i_, j, k, j_, j__, var_i, var_j;




More information about the PPL-devel mailing list