projects
/
cvc5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e05f7f5
)
Minor fix for sets.
author
ajreynol
<andrew.j.reynolds@gmail.com>
Fri, 6 Jan 2017 19:27:18 +0000
(13:27 -0600)
committer
ajreynol
<andrew.j.reynolds@gmail.com>
Fri, 6 Jan 2017 19:27:37 +0000
(13:27 -0600)
src/theory/sets/theory_sets_private.cpp
patch
|
blob
|
history
diff --git
a/src/theory/sets/theory_sets_private.cpp
b/src/theory/sets/theory_sets_private.cpp
index c658220057500d776ce5d14f7620bb26c56bf0d7..6880a995d75fdf3ce4cb4bc989c767d65205466c 100644
(file)
--- a/
src/theory/sets/theory_sets_private.cpp
+++ b/
src/theory/sets/theory_sets_private.cpp
@@
-258,7
+258,7
@@
bool TheorySetsPrivate::isEntailed( Node n, bool polarity ) {
return true;
}
}
- }else if( n.getKind()==kind::AND
&&
n.getKind()==kind::OR ){
+ }else if( n.getKind()==kind::AND
||
n.getKind()==kind::OR ){
bool conj = (n.getKind()==kind::AND)==polarity;
for( unsigned i=0; i<n.getNumChildren(); i++ ){
bool isEnt = isEntailed( n[i], polarity );