summaryrefslogtreecommitdiff
path: root/src/theory/quantifiers/theory_quantifiers.cpp
diff options
context:
space:
mode:
authorMorgan Deters <mdeters@cs.nyu.edu>2013-01-23 17:00:56 -0500
committerMorgan Deters <mdeters@cs.nyu.edu>2013-01-23 17:00:56 -0500
commitfd29170106da3401dd183b479c84984a16ddcc41 (patch)
treefeed726bb7637261a80b46d8e42b7a5d2ae4ff15 /src/theory/quantifiers/theory_quantifiers.cpp
parentcf788e029054c1ee4a0399940422447ddefce878 (diff)
partially address bug 486: allow some model inspection of quantifiers
Diffstat (limited to 'src/theory/quantifiers/theory_quantifiers.cpp')
-rw-r--r--src/theory/quantifiers/theory_quantifiers.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/theory/quantifiers/theory_quantifiers.cpp b/src/theory/quantifiers/theory_quantifiers.cpp
index b1a7c9927..b5287fff4 100644
--- a/src/theory/quantifiers/theory_quantifiers.cpp
+++ b/src/theory/quantifiers/theory_quantifiers.cpp
@@ -93,7 +93,9 @@ Node TheoryQuantifiers::getValue(TNode n) {
}
void TheoryQuantifiers::collectModelInfo( TheoryModel* m, bool fullModel ){
-
+ for(assertions_iterator i = facts_begin(); i != facts_end(); ++i) {
+ m->assertPredicate(*i, true);
+ }
}
void TheoryQuantifiers::check(Effort e) {
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback