 
            Module: ppl/ppl Branch: ppl-0_12-branch Commit: cbc2fc98c3af5eed865648ce953553d69f5ef637 URL: http://www.cs.unipr.it/git/gitweb.cgi?p=ppl/ppl.git;a=commit;h=cbc2fc98c3af5...
Author: Enea Zaffanella zaffanella@cs.unipr.it Date: Fri May 4 10:13:05 2012 +0200
Recompute the sign of the special_equality_row after modyfying it. This fixes the bug shown by test04() in tests/PIP_Problem/pipproblem3.cc.
---
src/PIP_Tree.cc | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/PIP_Tree.cc b/src/PIP_Tree.cc index f434d7d..7ce9848 100644 --- a/src/PIP_Tree.cc +++ b/src/PIP_Tree.cc @@ -2424,6 +2424,7 @@ PIP_Solution_Node const dimension_type m_eq = mapping[special_equality_row]; sub_assign(tableau.s[m_eq], v_row); sub_assign(tableau.t[m_eq], p_row); + sign[m_eq] = row_sign(tableau.t[m_eq], big_dimension); } } }