Sebastian Bittrich 3 years ago
parent
commit
82a4d5eedf

+ 1 - 1
src/mol-model/structure/structure/util/superposition-sifts-mapping.ts

@@ -163,7 +163,7 @@ function buildIndex(structure: Structure, index: Map<string, IndexEntry>, sI: nu
 
                 let start, end;
                 if (traceOnly) {
-                    start = traceElementIndex[rI] as ElementIndex;
+                    start = traceElementIndex[rI];
                     if (start === -1) continue;
                     end = start + 1 as ElementIndex;
                 } else {