From 85df7998e4362e0a9c796146d07d7b9e91045a31 Mon Sep 17 00:00:00 2001 From: Andrew Reynolds Date: Tue, 14 Nov 2017 19:06:49 -0600 Subject: Make QEffort an enum (#1366) * Make QEffort an enum. * Format * Minor * Fix --- src/theory/quantifiers/quant_conflict_find.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/theory/quantifiers/quant_conflict_find.cpp') diff --git a/src/theory/quantifiers/quant_conflict_find.cpp b/src/theory/quantifiers/quant_conflict_find.cpp index bd56b9d9b..baf499d67 100644 --- a/src/theory/quantifiers/quant_conflict_find.cpp +++ b/src/theory/quantifiers/quant_conflict_find.cpp @@ -2031,9 +2031,11 @@ void QuantConflictFind::setIrrelevantFunction( TNode f ) { } /** check */ -void QuantConflictFind::check( Theory::Effort level, unsigned quant_e ) { +void QuantConflictFind::check(Theory::Effort level, QEffort quant_e) +{ CodeTimer codeTimer(d_quantEngine->d_statistics.d_qcf_time); - if( quant_e==QuantifiersEngine::QEFFORT_CONFLICT ){ + if (quant_e == QEFFORT_CONFLICT) + { Trace("qcf-check") << "QCF : check : " << level << std::endl; if( d_conflict ){ Trace("qcf-check2") << "QCF : finished check : already in conflict." << std::endl; -- cgit v1.2.3