Skip to content
Snippets Groups Projects
Commit b15196a2 authored by Michal Malý's avatar Michal Malý
Browse files

Reset ConfalPyramidsIterator internal state correctly when switching

chains
parent d29cc854
No related branches found
No related tags found
No related merge requests found
...@@ -87,6 +87,8 @@ export class ConfalPyramidsIterator { ...@@ -87,6 +87,8 @@ export class ConfalPyramidsIterator {
return this.moveStep(); return this.moveStep();
} else { } else {
this.residueIt.setSegment(this.chainIt.move()); this.residueIt.setSegment(this.chainIt.move());
if (this.residueIt.hasNext)
this.residueTwo = this.residueIt.move();
return this.moveStep(); return this.moveStep();
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment