 
            Module: ppl/ppl Branch: master Commit: 5453b06aa9e87a44354171c588e09397393a0bb6 URL: http://www.cs.unipr.it/git/gitweb.cgi?p=ppl/ppl.git;a=commit;h=5453b06aa9e87...
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 42a568d..9899dc5 100644 --- a/src/PIP_Tree.cc +++ b/src/PIP_Tree.cc @@ -2416,6 +2416,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); } } }