diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2017-11-14 19:06:49 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-14 19:06:49 -0600 |
commit | 85df7998e4362e0a9c796146d07d7b9e91045a31 (patch) | |
tree | 0ab2e33e807651386cd041257c1abff2bb769057 /src/theory/quantifiers/inst_strategy_enumerative.cpp | |
parent | 748e20967ae7698f6b545a5128633865701aeb2d (diff) |
Make QEffort an enum (#1366)
* Make QEffort an enum.
* Format
* Minor
* Fix
Diffstat (limited to 'src/theory/quantifiers/inst_strategy_enumerative.cpp')
-rw-r--r-- | src/theory/quantifiers/inst_strategy_enumerative.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/theory/quantifiers/inst_strategy_enumerative.cpp b/src/theory/quantifiers/inst_strategy_enumerative.cpp index 3bd1ac495..edd15fa2c 100644 --- a/src/theory/quantifiers/inst_strategy_enumerative.cpp +++ b/src/theory/quantifiers/inst_strategy_enumerative.cpp @@ -55,19 +55,18 @@ bool InstStrategyEnum::needsCheck(Theory::Effort e) } void InstStrategyEnum::reset_round(Theory::Effort e) {} -void InstStrategyEnum::check(Theory::Effort e, unsigned quant_e) +void InstStrategyEnum::check(Theory::Effort e, QEffort quant_e) { bool doCheck = false; bool fullEffort = false; if (options::fullSaturateInterleave()) { // we only add when interleaved with other strategies - doCheck = quant_e == QuantifiersEngine::QEFFORT_STANDARD - && d_quantEngine->hasAddedLemma(); + doCheck = quant_e == QEFFORT_STANDARD && d_quantEngine->hasAddedLemma(); } if (options::fullSaturateQuant() && !doCheck) { - doCheck = quant_e == QuantifiersEngine::QEFFORT_LAST_CALL; + doCheck = quant_e == QEFFORT_LAST_CALL; fullEffort = !d_quantEngine->hasAddedLemma(); } if (doCheck) |