Skip to content

Commit 8bac90e

Browse files
committed
Backwards conditional.
1 parent 91f913d commit 8bac90e

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
@@ -883,7 +883,7 @@ def generate_prediction_data(self):
883883
you are intending to use functions from ``hdbscan.prediction``.
884884
"""
885885

886-
if self.metric not in FAST_METRICS:
886+
if self.metric in FAST_METRICS:
887887
min_samples = self.min_samples or self.min_cluster_size
888888
if self.metric in KDTree.valid_metrics:
889889
tree_type = 'kdtree'

0 commit comments

Comments
 (0)