We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 52b0653 commit 2863153Copy full SHA for 2863153
funlib/geometry/float_roi.py
@@ -176,7 +176,7 @@ def to_slices(self) -> Tuple[slice, ...]:
176
s = slice(None, 0)
177
else:
178
fstart, fstop = self.__offset[d], self.__offset[d] + self.__shape[d]
179
- start, stop = numbers.Number(fstart), numbers.Number(fstop)
+ start, stop = int(fstart), int(fstop)
180
assert (
181
abs(fstart - start) < 1e-4
182
), f"fstart: {fstart} must be an integer"
0 commit comments