From 73093229491701020143ade6746423a92876836b Mon Sep 17 00:00:00 2001 From: Saransh Chopra Date: Thu, 25 Jan 2024 15:47:06 +0100 Subject: [PATCH] Revert accidental deletion --- src/boost_histogram/_internal/hist.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/boost_histogram/_internal/hist.py b/src/boost_histogram/_internal/hist.py index b3ec28c6..9db74ff0 100644 --- a/src/boost_histogram/_internal/hist.py +++ b/src/boost_histogram/_internal/hist.py @@ -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):