Skip to content
Snippets Groups Projects
Commit b7205955 authored by Markus Holzer's avatar Markus Holzer
Browse files

Fix remaining tests

parent 8f58d2ce
No related branches found
No related tags found
No related merge requests found
Pipeline #67291 canceled
......@@ -226,7 +226,7 @@ class BlockIndexing(AbstractIndexing):
end = [s.stop if s.stop != 0 else 1 for s in numeric_iteration_slice]
for i, s in enumerate(numeric_iteration_slice):
if s.step and s.step != 1:
end[i] = div_floor(end[i], s.step)
end[i] = div_ceil(s.stop - s.start, s.step) + s.start
if self._dim < 4:
conditions = [c < e for c, e in zip(self.coordinates, end)]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment