Skip to content

Commit 35a3fb4

Browse files
committed
numpy 2 compat
1 parent 8b88d4f commit 35a3fb4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

momepy/preprocessing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1103,7 +1103,7 @@ def __init__(
11031103
self,
11041104
gdf,
11051105
index="circular_compactness",
1106-
height_mins=np.NINF,
1106+
height_mins=-np.inf,
11071107
height_maxs=0.008,
11081108
prominence=0.00075,
11091109
):

0 commit comments

Comments
 (0)