diff options
author | Aina Niemetz <aina.niemetz@gmail.com> | 2020-12-02 14:24:52 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-02 14:24:52 -0800 |
commit | a9eaeb438882abd6d06be41c6fcb87f4f04bcc8c (patch) | |
tree | af6188637ea86feb9f6bc6595740a2d5129893fb /src/theory/arith/dual_simplex.cpp | |
parent | 768157d3bf78337a603004a2a47026ecf1b70612 (diff) |
Rename macro Message to CVC4Message. (#5576)
Diffstat (limited to 'src/theory/arith/dual_simplex.cpp')
-rw-r--r-- | src/theory/arith/dual_simplex.cpp | 40 |
1 files changed, 26 insertions, 14 deletions
diff --git a/src/theory/arith/dual_simplex.cpp b/src/theory/arith/dual_simplex.cpp index 3d6e92283..4ac3034ff 100644 --- a/src/theory/arith/dual_simplex.cpp +++ b/src/theory/arith/dual_simplex.cpp @@ -107,13 +107,19 @@ Result::Sat DualSimplexDecisionProcedure::dualFindModel(bool exactResult){ } } - if(verbose && numDifferencePivots > 0){ - if(result == Result::UNSAT){ - Message() << "diff order found unsat" << endl; - }else if(d_errorSet.errorEmpty()){ - Message() << "diff order found model" << endl; - }else{ - Message() << "diff order missed" << endl; + if (verbose && numDifferencePivots > 0) + { + if (result == Result::UNSAT) + { + CVC4Message() << "diff order found unsat" << endl; + } + else if (d_errorSet.errorEmpty()) + { + CVC4Message() << "diff order found model" << endl; + } + else + { + CVC4Message() << "diff order missed" << endl; } } } @@ -133,13 +139,19 @@ Result::Sat DualSimplexDecisionProcedure::dualFindModel(bool exactResult){ if(searchForFeasibleSolution(options::arithStandardCheckVarOrderPivots())){ result = Result::UNSAT; } - if(verbose){ - if(result == Result::UNSAT){ - Message() << "restricted var order found unsat" << endl; - }else if(d_errorSet.errorEmpty()){ - Message() << "restricted var order found model" << endl; - }else{ - Message() << "restricted var order missed" << endl; + if (verbose) + { + if (result == Result::UNSAT) + { + CVC4Message() << "restricted var order found unsat" << endl; + } + else if (d_errorSet.errorEmpty()) + { + CVC4Message() << "restricted var order found model" << endl; + } + else + { + CVC4Message() << "restricted var order missed" << endl; } } } |