Skip to content

Commit 2bae036

Browse files
committed
Readability
1 parent d6502f0 commit 2bae036

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bam/overlap.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ function compare_intervals(record::Record, interval::Tuple{Int,UnitRange{Int}})
8989
return -1
9090
end
9191

92-
if rid > interval[1] || (rid == interval[1] && position(record) > last(interval[2]))
92+
if rid > interval[1] || (rid == interval[1] && leftposition(record) > last(interval[2]))
9393
# strictly right
9494
return +1
9595
end

0 commit comments

Comments
 (0)