Skip to content

Commit

Permalink
Revert accidental deletion
Browse files Browse the repository at this point in the history
  • Loading branch information
Saransh-cpp authored Jan 25, 2024
1 parent 41e370d commit 7309322
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/boost_histogram/_internal/hist.py
Original file line number Diff line number Diff line change
Expand Up @@ -672,6 +672,7 @@ def _compute_uhi_index(self, index: InnerIndexing, axis: int) -> SimpleIndexing:
if index is sum or hasattr(index, "factor"): # type: ignore[comparison-overlap]
return slice(None, None, index)

# General locators
# Note that MyPy doesn't like these very much - the fix
# will be to properly set input types
if callable(index):
Expand Down

0 comments on commit 7309322

Please # to comment.