Minor change for performance according to Andy's suggestion.
authorTianyi Liang <tianyi-liang@uiowa.edu>
Fri, 17 Oct 2014 16:20:38 +0000 (11:20 -0500)
committerTianyi Liang <tianyi-liang@uiowa.edu>
Fri, 17 Oct 2014 16:20:38 +0000 (11:20 -0500)
src/theory/strings/theory_strings.cpp

index ac1b1b1edd584f406d2a0335682e07d7f00458a1..e0916974e04aa29d6c117558d38ea73fcb9782df 100644 (file)
@@ -600,7 +600,7 @@ void TheoryStrings::check(Effort e) {
 
 
   bool addedLemma = false;
-  if( e == EFFORT_FULL && !d_conflict ) {
+  if( e == EFFORT_FULL && !d_conflict && !d_valuation.needCheck() ) {
     //addedLemma = checkSimple();
     //Trace("strings-process") << "Done simple checking, addedLemma = " << addedLemma << ", d_conflict = " << d_conflict << std::endl;
     //if( !addedLemma ) {