Skip to content

Commit 3cde9ba

Browse files
committed
fix function call to _process_index_for_axis
1 parent 6e1a75d commit 3cde9ba

File tree

1 file changed

+2
-2
lines changed
  • bindings/pyroot/pythonizations/python/ROOT/_pythonization/_uhi

1 file changed

+2
-2
lines changed

bindings/pyroot/pythonizations/python/ROOT/_pythonization/_uhi/indexing.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,12 +105,12 @@ def _resolve_slice_indices(self, index, axis, flow=True):
105105
"""Resolve slice start and stop indices for a given axis"""
106106
start, stop = index.start, index.stop
107107
start = (
108-
_process_index_for_axis(self, start, axis, flow)
108+
_process_index_for_axis(self, start, axis)
109109
if start is not None
110110
else _underflow(self, axis) + (0 if flow else 1)
111111
)
112112
stop = (
113-
_process_index_for_axis(self, stop, axis, flow, is_slice_stop=True)
113+
_process_index_for_axis(self, stop, axis, is_slice_stop=True)
114114
if stop is not None
115115
else _overflow(self, axis) + (1 if flow else 0)
116116
)

0 commit comments

Comments
 (0)