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/anti_skolem.cpp | |
parent | 748e20967ae7698f6b545a5128633865701aeb2d (diff) |
Make QEffort an enum (#1366)
* Make QEffort an enum.
* Format
* Minor
* Fix
Diffstat (limited to 'src/theory/quantifiers/anti_skolem.cpp')
-rw-r--r-- | src/theory/quantifiers/anti_skolem.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/theory/quantifiers/anti_skolem.cpp b/src/theory/quantifiers/anti_skolem.cpp index e9c646f07..681c168f2 100644 --- a/src/theory/quantifiers/anti_skolem.cpp +++ b/src/theory/quantifiers/anti_skolem.cpp @@ -92,8 +92,10 @@ QuantAntiSkolem::QuantAntiSkolem(QuantifiersEngine* qe) QuantAntiSkolem::~QuantAntiSkolem() { delete d_sqc; } /* Call during quantifier engine's check */ -void QuantAntiSkolem::check( Theory::Effort e, unsigned quant_e ) { - if( quant_e==QuantifiersEngine::QEFFORT_STANDARD ){ +void QuantAntiSkolem::check(Theory::Effort e, QEffort quant_e) +{ + if (quant_e == QEFFORT_STANDARD) + { d_sqtc.clear(); for( unsigned i=0; i<d_quantEngine->getModel()->getNumAssertedQuantifiers(); i++ ){ Node q = d_quantEngine->getModel()->getAssertedQuantifier( i ); |