Skip to content

Commit 589a6a1

Browse files
committed
minor cleanup
1 parent e46f033 commit 589a6a1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hdbscan/_hdbscan_reachability.pyx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ def mutual_reachability(distance_matrix, min_points=5, alpha=1.0):
3535
In: Advances in Knowledge Discovery and Data Mining, Springer, pp 160-172.
3636
2013
3737
"""
38-
dim = distance_matrix.shape[0]
39-
min_points = min(dim - 1, min_points)
38+
size = distance_matrix.shape[0]
39+
min_points = min(size - 1, min_points)
4040
try:
4141
core_distances = np.partition(distance_matrix,
4242
min_points,

0 commit comments

Comments
 (0)