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:
parent
d6145de970
commit
dd30ad751a
|
|
@ -119,7 +119,7 @@ public class LowMemoryIntervalSharder implements Iterator<FilePointer> {
|
||||||
if(!nextFilePointer.locations.isEmpty()) {
|
if(!nextFilePointer.locations.isEmpty()) {
|
||||||
while(locusIterator.hasNext() && locusIterator.peek().overlapsP(coveredRegion)) {
|
while(locusIterator.hasNext() && locusIterator.peek().overlapsP(coveredRegion)) {
|
||||||
currentLocus = locusIterator.next();
|
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,
|
// Chop off the uncovered portion of the locus. Since we know that the covered region overlaps the current locus,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue