diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2020-02-19 15:15:22 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-19 15:15:22 -0600 |
commit | c6a9ab9da205df7cbf192edc142ee151404dcb1b (patch) | |
tree | 42f2fe5f76f7be0b112882c65b254729de5bdc5e /src/theory/quantifiers/inst_strategy_enumerative.cpp | |
parent | be2ee6f3ea202812a9ddecfad3a8eeddfd44db3e (diff) |
Delay enumerative instantiation if theory engine does not need check (#3774)
Diffstat (limited to 'src/theory/quantifiers/inst_strategy_enumerative.cpp')
-rw-r--r-- | src/theory/quantifiers/inst_strategy_enumerative.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/theory/quantifiers/inst_strategy_enumerative.cpp b/src/theory/quantifiers/inst_strategy_enumerative.cpp index 1e2e34aa2..47e4a9228 100644 --- a/src/theory/quantifiers/inst_strategy_enumerative.cpp +++ b/src/theory/quantifiers/inst_strategy_enumerative.cpp @@ -77,8 +77,11 @@ void InstStrategyEnum::check(Theory::Effort e, QEffort quant_e) } if (options::fullSaturateQuant() && !doCheck) { - doCheck = quant_e == QEFFORT_LAST_CALL; - fullEffort = !d_quantEngine->hasAddedLemma(); + if (!d_quantEngine->theoryEngineNeedsCheck()) + { + doCheck = quant_e == QEFFORT_LAST_CALL; + fullEffort = true; + } } } if (!doCheck) |