Merge pull request #369 from MilosKozak/AdrianLxM-patch-1
Overlapping interval - regard first element on cut
This commit is contained in:
commit
e53bf6b728
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ public class OverlappingIntervals<T extends Interval> extends Intervals<T> {
|
|||
boolean needToCut = false;
|
||||
long cutTime = 0;
|
||||
|
||||
for (int index = rawData.size()-1; index > 0; index--) { //begin with newest
|
||||
for (int index = rawData.size()-1; index >= 0; index--) { //begin with newest
|
||||
Interval cur = rawData.valueAt(index);
|
||||
if (cur.isEndingEvent()){
|
||||
needToCut = true;
|
||||
|
|
Loading…
Reference in a new issue