summaryrefslogtreecommitdiff
path: root/src/decision/decision_engine.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/decision/decision_engine.h')
-rw-r--r--src/decision/decision_engine.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/decision/decision_engine.h b/src/decision/decision_engine.h
index 39ed89a68..61900e59d 100644
--- a/src/decision/decision_engine.h
+++ b/src/decision/decision_engine.h
@@ -30,6 +30,7 @@
#include "theory/decision_attributes.h"
#include "util/ite_removal.h"
#include "util/output.h"
+#include "smt/smt_engine_scope.h"
using namespace std;
using namespace CVC4::prop;
@@ -117,6 +118,7 @@ public:
/** Gets the next decision based on strategies that are enabled */
SatLiteral getNext(bool &stopSearch) {
+ NodeManager::currentResourceManager()->spendResource();
Assert(d_cnfStream != NULL,
"Forgot to set cnfStream for decision engine?");
Assert(d_satSolver != NULL,
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback