Improved debugging output.
authorTim King <taking@cs.nyu.edu>
Wed, 27 Jun 2012 20:56:04 +0000 (20:56 +0000)
committerTim King <taking@cs.nyu.edu>
Wed, 27 Jun 2012 20:56:04 +0000 (20:56 +0000)
src/theory/arith/matrix.h

index 5becdc9fb4f36994501770a281cc6e5fa1d1126f..f0e17f8a471e05f12b0c76b3d776ed38c774ef3c 100644 (file)
@@ -853,6 +853,14 @@ public:
     return d_basic2RowIndex.isKey(v);
   }
 
+  void debugPrintIsBasic(ArithVar v) const {
+    if(isBasic(v)){
+      Warning() << v << " is basic." << std::endl;
+    }else{
+      Warning() << v << " is non-basic." << std::endl;
+    }
+  }
+
   BasicIterator beginBasic() const {
     return d_basic2RowIndex.begin();
   }