diff options
Diffstat (limited to 'src/theory/strings/theory_strings.cpp')
-rw-r--r-- | src/theory/strings/theory_strings.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/theory/strings/theory_strings.cpp b/src/theory/strings/theory_strings.cpp index 65f06c008..0f9a78516 100644 --- a/src/theory/strings/theory_strings.cpp +++ b/src/theory/strings/theory_strings.cpp @@ -570,8 +570,12 @@ void TheoryStrings::presolve() { inputVars.push_back(*itr); } d_sslds->initialize(inputVars); + // This strategy is local to a check-sat call, since we refresh the strategy + // on every call to presolve. getDecisionManager()->registerStrategy( - DecisionManager::STRAT_STRINGS_SUM_LENGTHS, d_sslds.get()); + DecisionManager::STRAT_STRINGS_SUM_LENGTHS, + d_sslds.get(), + DecisionManager::STRAT_SCOPE_LOCAL_SOLVE); } } |