summaryrefslogtreecommitdiff
path: root/src/theory/quantifiers/quant_split.cpp
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2017-11-14 19:06:49 -0600
committerGitHub <noreply@github.com>2017-11-14 19:06:49 -0600
commit85df7998e4362e0a9c796146d07d7b9e91045a31 (patch)
tree0ab2e33e807651386cd041257c1abff2bb769057 /src/theory/quantifiers/quant_split.cpp
parent748e20967ae7698f6b545a5128633865701aeb2d (diff)
Make QEffort an enum (#1366)
* Make QEffort an enum. * Format * Minor * Fix
Diffstat (limited to 'src/theory/quantifiers/quant_split.cpp')
-rw-r--r--src/theory/quantifiers/quant_split.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/theory/quantifiers/quant_split.cpp b/src/theory/quantifiers/quant_split.cpp
index 282ff3bc4..68a0f30dc 100644
--- a/src/theory/quantifiers/quant_split.cpp
+++ b/src/theory/quantifiers/quant_split.cpp
@@ -83,9 +83,11 @@ bool QuantDSplit::checkCompleteFor( Node q ) {
}
/* Call during quantifier engine's check */
-void QuantDSplit::check( Theory::Effort e, unsigned quant_e ) {
+void QuantDSplit::check(Theory::Effort e, QEffort quant_e)
+{
//add lemmas ASAP (they are a reduction)
- if( quant_e==QuantifiersEngine::QEFFORT_CONFLICT ){
+ if (quant_e == QEFFORT_CONFLICT)
+ {
std::vector< Node > lemmas;
for(std::map< Node, int >::iterator it = d_quant_to_reduce.begin(); it != d_quant_to_reduce.end(); ++it) {
Node q = it->first;
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback