Highlights
Bug fix release.
HalfClosedInterval.cover_rangereturned indices of samples outside the interval: a last sample equal to the exclusivestop(e.g.HalfClosedInterval(0, 3).cover_range(np.arange(4))wasrange(0, 4)), non-integer samples all belowstart, and with numpy 1 an empty range for uint64 samples above 2**53. It now covers exactly the samples withstart <= sample < stop; empty results are empty ranges, which may start at any index.
New contributors
Thanks to Dezhen Lu (@0z5a) for their first contribution, finding and fixing the HalfClosedInterval.cover_range bounds (#264, backported in #265)!
Changes since v19.9.0
🪲 Fixed
- (geometry) exclude samples outside the interval from HalfClosedInterval.cover_range (316bd11) - @0z5a
🔧 Chore
Full diff: v19.9.0...v19.9.1