projects
/
cvc5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f837652
)
another fix for quantifier models (related to bug 486)
author
Morgan Deters
<mdeters@cs.nyu.edu>
Sun, 27 Jan 2013 02:09:55 +0000
(21:09 -0500)
committer
Morgan Deters
<mdeters@cs.nyu.edu>
Sun, 27 Jan 2013 02:09:55 +0000
(21:09 -0500)
src/theory/quantifiers/theory_quantifiers.cpp
patch
|
blob
|
history
diff --git
a/src/theory/quantifiers/theory_quantifiers.cpp
b/src/theory/quantifiers/theory_quantifiers.cpp
index b5287fff4a2503363f7d338f69494113b361d912..2e33c7c4a7c136fddc61cb9b8e233cebfe8eb0cf 100644
(file)
--- a/
src/theory/quantifiers/theory_quantifiers.cpp
+++ b/
src/theory/quantifiers/theory_quantifiers.cpp
@@
-94,7
+94,11
@@
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);
+ if((*i).assertion.getKind() == kind::NOT) {
+ m->assertPredicate((*i).assertion[0], false);
+ } else {
+ m->assertPredicate(*i, true);
+ }
}
}