Skip to content

Commit 3786887

Browse files
committed
Fix a missed tuple dereference
1 parent 2be56b1 commit 3786887

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hdbscan/hdbscan_.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ def hdbscan(X, min_cluster_size=5, min_samples=None, alpha=1.0,
347347
return _hdbscan_small_kdtree(X, min_cluster_size,
348348
min_samples, alpha, metric,
349349
p, gen_min_span_tree)
350-
elif X.shape < 30000:
350+
elif X.shape[0] < 30000:
351351
if HAVE_FASTCLUSTER:
352352
return _hdbscan_large_kdtree_fastcluster(X, min_cluster_size,
353353
min_samples, alpha, metric,

0 commit comments

Comments
 (0)