diff --git a/src/c3nav/mapdata/utils/cache/accessrestrictions.py b/src/c3nav/mapdata/utils/cache/accessrestrictions.py index 59cf3499..b9efca2a 100644 --- a/src/c3nav/mapdata/utils/cache/accessrestrictions.py +++ b/src/c3nav/mapdata/utils/cache/accessrestrictions.py @@ -5,7 +5,7 @@ from os import PathLike from typing import Self, Iterator import numpy as np -from scipy.linalg._decomp_interpolative import NDArray +from numpy.typing import NDArray from shapely import Polygon, MultiPolygon from c3nav.mapdata.utils.cache.indexed import LevelGeometryIndexed diff --git a/src/c3nav/mapdata/utils/cache/indexed.py b/src/c3nav/mapdata/utils/cache/indexed.py index 8a3fb159..f2425685 100644 --- a/src/c3nav/mapdata/utils/cache/indexed.py +++ b/src/c3nav/mapdata/utils/cache/indexed.py @@ -4,7 +4,7 @@ from os import PathLike from pathlib import Path from typing import Self, Optional -from scipy.linalg._decomp_interpolative import NDArray +from numpy.typing import NDArray from shapely import Polygon, MultiPolygon import numpy as np