summaryrefslogtreecommitdiff
path: root/src/theory/arith/tableau.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/theory/arith/tableau.cpp')
-rw-r--r--src/theory/arith/tableau.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/theory/arith/tableau.cpp b/src/theory/arith/tableau.cpp
index 5f142fe8a..5ba173eb6 100644
--- a/src/theory/arith/tableau.cpp
+++ b/src/theory/arith/tableau.cpp
@@ -24,6 +24,14 @@ using namespace CVC4;
using namespace CVC4::theory;
using namespace CVC4::theory::arith;
+Tableau::~Tableau(){
+ while(!d_activeBasicVars.empty()){
+ ArithVar curr = *(d_activeBasicVars.begin());
+ ReducedRowVector* vec = removeRow(curr);
+ delete vec;
+ }
+}
+
void Tableau::addRow(ArithVar basicVar,
const std::vector<Rational>& coeffs,
const std::vector<ArithVar>& variables){
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback