Skip to content

Commit 7028527

Browse files
authored
np.bool8 is deprecated and removed in numpy 2.x
1 parent 6300da1 commit 7028527

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fast_hdbscan/cluster_trees.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ def condense_tree(hierarchy, min_cluster_size=10):
131131
lambdas = np.empty(root, dtype=np.float32)
132132
sizes = np.ones(root, dtype=np.int64)
133133

134-
ignore = np.zeros(root + 1, dtype=np.bool8)
134+
ignore = np.zeros(root + 1, dtype=np.bool)
135135

136136
idx = 0
137137

0 commit comments

Comments
 (0)