Browse Source

Predicate fix

David Sehnal 7 years ago
parent
commit
8416a827b0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/mol-model/structure/query/predicates.ts

+ 1 - 1
src/mol-model/structure/query/predicates.ts

@@ -64,7 +64,7 @@ namespace Predicates {
 
     export function or(...ps: Atom.Predicate[]): Atom.Predicate {
         switch (ps.length) {
-            case 0: return P.constant.true;
+            case 0: return P.constant.false;
             case 1: return ps[0];
             case 2: {
                 const a = ps[0], b = ps[1];