Fix bug in low memory sharder's interval accumulator.

git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@5345 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
hanna 2011-03-01 17:11:22 +00:00
parent d6145de970
commit dd30ad751a
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ public class LowMemoryIntervalSharder implements Iterator<FilePointer> {
if(!nextFilePointer.locations.isEmpty()) {
while(locusIterator.hasNext() && locusIterator.peek().overlapsP(coveredRegion)) {
currentLocus = locusIterator.next();
nextFilePointer.addLocation(locusIterator.next());
nextFilePointer.addLocation(currentLocus.intersect(coveredRegion));
}
// Chop off the uncovered portion of the locus. Since we know that the covered region overlaps the current locus,