summaryrefslogtreecommitdiff
path: root/src/theory
diff options
context:
space:
mode:
authorMorgan Deters <mdeters@gmail.com>2012-02-22 15:30:51 +0000
committerMorgan Deters <mdeters@gmail.com>2012-02-22 15:30:51 +0000
commit4aecb261e60bf3e2de0d6a59af8d3a55b608c273 (patch)
treeac707035fb32f047a690a1d12e4aba0ada5b8d7e /src/theory
parent5113a97006ab1ed6de2eec471b9ad624d14e8d27 (diff)
Fixes to documentation / fixes for MacOS
Diffstat (limited to 'src/theory')
-rw-r--r--src/theory/arith/simplex.cpp2
-rw-r--r--src/theory/arith/theory_arith.cpp5
2 files changed, 5 insertions, 2 deletions
diff --git a/src/theory/arith/simplex.cpp b/src/theory/arith/simplex.cpp
index 26cdb2cdb..6f8d02642 100644
--- a/src/theory/arith/simplex.cpp
+++ b/src/theory/arith/simplex.cpp
@@ -621,7 +621,7 @@ Node SimplexDecisionProcedure::updateInconsistentVars(){
}
static CVC4_THREADLOCAL(unsigned int) instance = 0;
- ++instance;
+ instance = instance + 1;
Debug("arith::updateInconsistentVars") << "begin updateInconsistentVars() "
<< instance << endl;
diff --git a/src/theory/arith/theory_arith.cpp b/src/theory/arith/theory_arith.cpp
index 268829105..05159407c 100644
--- a/src/theory/arith/theory_arith.cpp
+++ b/src/theory/arith/theory_arith.cpp
@@ -1224,7 +1224,10 @@ void TheoryArith::presolve(){
if(Debug.isOn("paranoid:check_tableau")){ d_simplex.debugCheckTableau(); }
static CVC4_THREADLOCAL(unsigned) callCount = 0;
- Debug("arith::presolve") << "TheoryArith::presolve #" << (callCount++) << endl;
+ if(Debug.isOn("arith::presolve")) {
+ Debug("arith::presolve") << "TheoryArith::presolve #" << callCount << endl;
+ callCount = callCount + 1;
+ }
d_learner.clear();
check(FULL_EFFORT);
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback