summaryrefslogtreecommitdiff
path: root/src/theory/theory.h
diff options
context:
space:
mode:
authorClark Barrett <barrett@cs.stanford.edu>2017-03-28 18:29:48 -0700
committerClark Barrett <barrett@cs.stanford.edu>2017-03-28 18:29:48 -0700
commit3d1ad64367948039f67f653e34f19359e3c9c496 (patch)
tree199a78da87159627dc901468276c7e232829af6e /src/theory/theory.h
parent679011435a1200ed97148d6daae130b48254c0e2 (diff)
Fix for bug 733
Diffstat (limited to 'src/theory/theory.h')
-rw-r--r--src/theory/theory.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/theory/theory.h b/src/theory/theory.h
index d50d6b3f9..445d184e4 100644
--- a/src/theory/theory.h
+++ b/src/theory/theory.h
@@ -734,6 +734,11 @@ public:
return !d_facts.empty();
}
+ /** Return total number of facts asserted to this theory */
+ size_t numAssertions() {
+ return d_facts.size();
+ }
+
typedef context::CDList<TNode>::const_iterator shared_terms_iterator;
/**
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback