1
0
Fork 0
mirror of https://github.com/MillironX/XAM.jl.git synced 2024-12-23 13:28:16 +00:00

Readability

This commit is contained in:
Ciarán O’Mara 2021-06-24 00:53:17 +10:00
parent c56eb0851a
commit fa10f3bfcf

View file

@ -89,7 +89,7 @@ function compare_intervals(record::Record, interval::Tuple{Int,UnitRange{Int}})
return -1
end
if rid > interval[1] || (rid == interval[1] && position(record) > last(interval[2]))
if rid > interval[1] || (rid == interval[1] && leftposition(record) > last(interval[2]))
# strictly right
return +1
end