Skip to content

Commit c1a05d7

Browse files
committed
Fix for issue on windows
1 parent 45639a8 commit c1a05d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hdbscan/validity.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ def internal_minimum_spanning_tree(mr_distances):
154154
row[0] = candidates[0]
155155

156156
vertices = np.arange(mr_distances.shape[0])[
157-
np.bincount(min_span_tree.T[:2].flatten().astype(np.int64)) > 1]
157+
np.bincount(min_span_tree.T[:2].flatten().astype(np.intp)) > 1]
158158
# A little "fancy" we select from the flattened array reshape back
159159
# (Fortran format to get indexing right) and take the product to do an and
160160
# then convert back to boolean type.

0 commit comments

Comments
 (0)