From: Tianyi Liang Date: Fri, 17 Oct 2014 16:20:38 +0000 (-0500) Subject: Minor change for performance according to Andy's suggestion. X-Git-Tag: cvc5-1.0.0~6555 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=98576f10e1c197e6844c80fdeba477f5aecaec08;p=cvc5.git Minor change for performance according to Andy's suggestion. --- diff --git a/src/theory/strings/theory_strings.cpp b/src/theory/strings/theory_strings.cpp index ac1b1b1ed..e0916974e 100644 --- a/src/theory/strings/theory_strings.cpp +++ b/src/theory/strings/theory_strings.cpp @@ -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 ) {