Don't ever call nonclausalSimplify if simplificationMode = NONE (even if
authorClark Barrett <barrett@cs.nyu.edu>
Wed, 6 Jun 2012 21:11:37 +0000 (21:11 +0000)
committerClark Barrett <barrett@cs.nyu.edu>
Wed, 6 Jun 2012 21:11:37 +0000 (21:11 +0000)
repeatSimp is true)

src/smt/smt_engine.cpp

index cc645f7b798868cf951335adb6f4bacb96d4f62d..8b3e6b7424b3b32e01c2308917a71a04303bfac7 100644 (file)
@@ -1042,7 +1042,7 @@ void SmtEnginePrivate::simplifyAssertions()
       unconstrainedSimp();
     }
 
-    if(Options::current()->repeatSimp) {
+    if(Options::current()->repeatSimp && Options::current()->simplificationMode != Options::SIMPLIFICATION_MODE_NONE) {
       d_assertionsToCheck.swap(d_assertionsToPreprocess);
       // Abuse the user context to make sure circuit propagator gets backtracked
       d_smt.d_userContext->push();