diff options
Diffstat (limited to 'src/theory/arith/tableau.h')
-rw-r--r-- | src/theory/arith/tableau.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/theory/arith/tableau.h b/src/theory/arith/tableau.h index 10daa0c13..2ab94c195 100644 --- a/src/theory/arith/tableau.h +++ b/src/theory/arith/tableau.h @@ -196,7 +196,8 @@ public: //Assert(isAdmissableVariable(var)); Assert(var.getAttribute(IsBasic())); - Assert(d_basicVars.find(var) != d_basicVars.end()); + //The new basic variable cannot already be a basic variable + Assert(d_basicVars.find(var) == d_basicVars.end()); d_basicVars.insert(var); d_rows[var] = new Row(var,sum); } |