Skip to content

Commit 7065b67

Browse files
committed
import the right thing
1 parent cf2f8bf commit 7065b67

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

flox/xrutils.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,10 @@ def module_available(module: str, minversion: Optional[str] = None) -> bool:
4949

5050
if module_available("numpy", minversion="2.0.0"):
5151
from numpy.lib.array_utils import ( # type: ignore[import-not-found]
52-
normalize_axis_tuple,
52+
normalize_axis_index,
5353
)
5454
else:
55-
from numpy.core.numeric import normalize_axis_tuple # type: ignore[attr-defined]
55+
from numpy.core.numeric import normalize_axis_index # type: ignore[attr-defined]
5656

5757

5858
def asarray(data, xp=np):

0 commit comments

Comments
 (0)