Skip to content

Commit 85be610

Browse files
committed
Fix bug for Zackary Leady with regard to validity index computations.
1 parent 158903b commit 85be610

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
@@ -173,7 +173,7 @@ def internal_minimum_spanning_tree(mr_distances):
173173
# If there are no internal edges then we want to take the
174174
# max over all the edges that exist in the MST, so we simply
175175
# do nothing and return all the edges in the MST.
176-
pass
176+
edges = min_span_tree.copy()
177177

178178
return vertices, edges
179179

0 commit comments

Comments
 (0)