summaryrefslogtreecommitdiff
path: root/src/smt
diff options
context:
space:
mode:
authorMorgan Deters <mdeters@cs.nyu.edu>2013-09-27 18:42:13 -0400
committerMorgan Deters <mdeters@cs.nyu.edu>2013-09-27 18:42:13 -0400
commit546e6aca016ea1f9b7da0bcfda5bed833a7a13ec (patch)
treef8722044b32d1360357a12034f5b919490f05456 /src/smt
parentb72ebc42011e4d55b28b807d362694447448c4e8 (diff)
Some fixes to recent strings commits.
Diffstat (limited to 'src/smt')
-rw-r--r--src/smt/smt_engine.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/smt/smt_engine.cpp b/src/smt/smt_engine.cpp
index df568f1ab..39ccc70c4 100644
--- a/src/smt/smt_engine.cpp
+++ b/src/smt/smt_engine.cpp
@@ -988,8 +988,8 @@ void SmtEngine::setLogicInternal() throw() {
) ||
// Quantifiers
d_logic.isQuantified() ||
- // Strings
- d_logic.isTheoryEnabled(THEORY_STRINGS)
+ // Strings
+ d_logic.isTheoryEnabled(THEORY_STRINGS)
? decision::DECISION_STRATEGY_JUSTIFICATION
: decision::DECISION_STRATEGY_INTERNAL
);
@@ -1008,7 +1008,7 @@ void SmtEngine::setLogicInternal() throw() {
d_logic.isPure(THEORY_ARITH) && d_logic.isLinear() && !d_logic.isDifferenceLogic() && !d_logic.areIntegersUsed()
) ||
// Quantifiers
- d_logic.isQuantified()
+ d_logic.isQuantified()
? true : false
);
@@ -2861,12 +2861,12 @@ void SmtEnginePrivate::processAssertions() {
// Assertions ARE guaranteed to be rewritten by this point
- if( d_smt.d_logic.isTheoryEnabled(THEORY_STRINGS) ){
- CVC4::theory::strings::StringsPreprocess sp;
- sp.simplify( d_assertionsToPreprocess );
+ if( d_smt.d_logic.isTheoryEnabled(THEORY_STRINGS) ) {
+ CVC4::theory::strings::StringsPreprocess sp;
+ sp.simplify( d_assertionsToPreprocess );
for (unsigned i = 0; i < d_assertionsToPreprocess.size(); ++ i) {
- d_assertionsToPreprocess[i] = Rewriter::rewrite( d_assertionsToPreprocess[i] );
- }
+ d_assertionsToPreprocess[i] = Rewriter::rewrite( d_assertionsToPreprocess[i] );
+ }
}
dumpAssertions("pre-skolem-quant", d_assertionsToPreprocess);
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback