diff options
author | Morgan Deters <mdeters@gmail.com> | 2012-06-14 14:32:51 +0000 |
---|---|---|
committer | Morgan Deters <mdeters@gmail.com> | 2012-06-14 14:32:51 +0000 |
commit | de6c0b0929f23fd3d01ae4c8bd3b93d4f484b7c7 (patch) | |
tree | f81881044a187571c56631466a2a9e0622f1d2c9 /src/theory/arith/simplex.cpp | |
parent | c1b87cb541768fa9811cef643e43fdc09091c353 (diff) |
The "no-tears-in-competition-mode" commit. Change all (non-driver, non-SAT-solver) uses of std::cout to the Message stream, and all uses of std::cerr to the Warning stream.
Diffstat (limited to 'src/theory/arith/simplex.cpp')
-rw-r--r-- | src/theory/arith/simplex.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/theory/arith/simplex.cpp b/src/theory/arith/simplex.cpp index 73087d4e8..ee71dea74 100644 --- a/src/theory/arith/simplex.cpp +++ b/src/theory/arith/simplex.cpp @@ -287,11 +287,11 @@ Result::Sat SimplexDecisionProcedure::findModel(bool exactResult){ if(verbose && numDifferencePivots > 0){ if(result == Result::UNSAT){ - cout << "diff order found unsat" << endl; + Message() << "diff order found unsat" << endl; }else if(d_queue.empty()){ - cout << "diff order found model" << endl; + Message() << "diff order found model" << endl; }else{ - cout << "diff order missed" << endl; + Message() << "diff order missed" << endl; } } } @@ -316,11 +316,11 @@ Result::Sat SimplexDecisionProcedure::findModel(bool exactResult){ } if(verbose){ if(result == Result::UNSAT){ - cout << "bland found unsat" << endl; + Message() << "bland found unsat" << endl; }else if(d_queue.empty()){ - cout << "bland found model" << endl; + Message() << "bland found model" << endl; }else{ - cout << "bland order missed" << endl; + Message() << "bland order missed" << endl; } } }else{ @@ -335,11 +335,11 @@ Result::Sat SimplexDecisionProcedure::findModel(bool exactResult){ if(verbose){ if(result == Result::UNSAT){ - cout << "restricted var order found unsat" << endl; + Message() << "restricted var order found unsat" << endl; }else if(d_queue.empty()){ - cout << "restricted var order found model" << endl; + Message() << "restricted var order found model" << endl; }else{ - cout << "restricted var order missed" << endl; + Message() << "restricted var order missed" << endl; } } } |