summaryrefslogtreecommitdiff
path: root/src/theory/quantifiers/inst_strategy_enumerative.cpp
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2020-02-19 15:15:22 -0600
committerGitHub <noreply@github.com>2020-02-19 15:15:22 -0600
commitc6a9ab9da205df7cbf192edc142ee151404dcb1b (patch)
tree42f2fe5f76f7be0b112882c65b254729de5bdc5e /src/theory/quantifiers/inst_strategy_enumerative.cpp
parentbe2ee6f3ea202812a9ddecfad3a8eeddfd44db3e (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.cpp7
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)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback