Minor fix for sets.
authorajreynol <andrew.j.reynolds@gmail.com>
Fri, 6 Jan 2017 19:27:18 +0000 (13:27 -0600)
committerajreynol <andrew.j.reynolds@gmail.com>
Fri, 6 Jan 2017 19:27:37 +0000 (13:27 -0600)
src/theory/sets/theory_sets_private.cpp

index c658220057500d776ce5d14f7620bb26c56bf0d7..6880a995d75fdf3ce4cb4bc989c767d65205466c 100644 (file)
@@ -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 );