Commit 47658d60 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 2ca0cdc7
......@@ -259,7 +259,7 @@ func (S *RangeSet) HasRange(r Range) (yes bool) {
}
// all keys from r are in S if r ∈ [ilo]
return r.hi_ <= S.rangev[ilo].hi_
return (S.rangev[ilo].lo <= r.lo && r.hi_ <= S.rangev[ilo].hi_)
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment