* commit 'f90651e4c43ac9b803ca67582a3ffd5e8dc0f192': More accurate checking for overlapped ranges.
This commit is contained in:
commit
744fb66659
1 changed files with 1 additions and 1 deletions
|
@ -162,7 +162,7 @@ static int range_overlaps(RangeSet* r1, RangeSet* r2) {
|
|||
r2_0 = r2->pos[j * 2];
|
||||
r2_1 = r2->pos[j * 2 + 1];
|
||||
|
||||
if (!(r2_0 > r1_1 || r1_0 > r2_1)) {
|
||||
if (!(r2_0 >= r1_1 || r1_0 >= r2_1)) {
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue