Browse Source

fix .firstChainLoc assignment in handleUnitChainsSimple

Alexander Rose 5 years ago
parent
commit
4434dfb79a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/mol-model/structure/structure/element/stats.ts

+ 1 - 1
src/mol-model/structure/structure/element/stats.ts

@@ -186,7 +186,7 @@ export namespace Stats {
                 // full chain
                 stats.chainCount += 1;
                 if (stats.chainCount === 1) {
-                    Location.set(stats.firstChainLoc, unit, elements[offsets[cI]]);
+                    Location.set(stats.firstChainLoc, unit, offsets[cI]);
                 }
             }
         }