summaryrefslogtreecommitdiff
path: root/src/theory/arith/tableau.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/theory/arith/tableau.h')
-rw-r--r--src/theory/arith/tableau.h3
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);
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback