summaryrefslogtreecommitdiff
path: root/src/theory/quantifiers/theory_quantifiers.cpp
diff options
context:
space:
mode:
authorajreynol <andrew.j.reynolds@gmail.com>2017-04-04 11:21:30 -0500
committerajreynol <andrew.j.reynolds@gmail.com>2017-04-04 11:21:30 -0500
commit6c0a62d69368b1af7e9777efcd703da6dc1cda11 (patch)
tree677d518d345a230c35bfbcb016fca199185f131e /src/theory/quantifiers/theory_quantifiers.cpp
parent6cb3f49d3933061000fe63d2ee7e004cae06d6ba (diff)
Simplify Theory::collectModelInfo interface to not take deprecated fullModel argument.
Diffstat (limited to 'src/theory/quantifiers/theory_quantifiers.cpp')
-rw-r--r--src/theory/quantifiers/theory_quantifiers.cpp18
1 files changed, 8 insertions, 10 deletions
diff --git a/src/theory/quantifiers/theory_quantifiers.cpp b/src/theory/quantifiers/theory_quantifiers.cpp
index 4d3e584b4..7321f00c4 100644
--- a/src/theory/quantifiers/theory_quantifiers.cpp
+++ b/src/theory/quantifiers/theory_quantifiers.cpp
@@ -117,16 +117,14 @@ void TheoryQuantifiers::computeCareGraph() {
//do nothing
}
-void TheoryQuantifiers::collectModelInfo(TheoryModel* m, bool fullModel) {
- if(fullModel) {
- for(assertions_iterator i = facts_begin(); i != facts_end(); ++i) {
- if((*i).assertion.getKind() == kind::NOT) {
- Debug("quantifiers::collectModelInfo") << "got quant FALSE: " << (*i).assertion[0] << endl;
- m->assertPredicate((*i).assertion[0], false);
- } else {
- Debug("quantifiers::collectModelInfo") << "got quant TRUE : " << *i << endl;
- m->assertPredicate(*i, true);
- }
+void TheoryQuantifiers::collectModelInfo(TheoryModel* m) {
+ for(assertions_iterator i = facts_begin(); i != facts_end(); ++i) {
+ if((*i).assertion.getKind() == kind::NOT) {
+ Debug("quantifiers::collectModelInfo") << "got quant FALSE: " << (*i).assertion[0] << endl;
+ m->assertPredicate((*i).assertion[0], false);
+ } else {
+ Debug("quantifiers::collectModelInfo") << "got quant TRUE : " << *i << endl;
+ m->assertPredicate(*i, true);
}
}
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback