summaryrefslogtreecommitdiff
path: root/src/theory/theory_engine.cpp
diff options
context:
space:
mode:
authorMorgan Deters <mdeters@cs.nyu.edu>2014-09-18 19:15:26 -0400
committerMorgan Deters <mdeters@cs.nyu.edu>2014-09-18 19:15:26 -0400
commit49747c4574eec3cfa192ffb6e6a2451b949e8b3e (patch)
treea12ac6ac5ff3b882a04fdbe4a67eba1ee8f434a8 /src/theory/theory_engine.cpp
parente8f2fcf2fd26542a3b1f24a67adae62508a741b4 (diff)
Resource spending support in theories (and especially in quantifiers).
Diffstat (limited to 'src/theory/theory_engine.cpp')
-rw-r--r--src/theory/theory_engine.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/theory/theory_engine.cpp b/src/theory/theory_engine.cpp
index 19409faf7..073f2ab94 100644
--- a/src/theory/theory_engine.cpp
+++ b/src/theory/theory_engine.cpp
@@ -1341,6 +1341,8 @@ void TheoryEngine::ensureLemmaAtoms(const std::vector<TNode>& atoms, theory::The
}
theory::LemmaStatus TheoryEngine::lemma(TNode node, bool negated, bool removable, bool preprocess, theory::TheoryId atomsTo) {
+ // For resource-limiting (also does a time check).
+ spendResource();
// Do we need to check atoms
if (atomsTo != theory::THEORY_LAST) {
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback