Skip to content

Commit

Permalink
Backwards conditional.
Browse files Browse the repository at this point in the history
  • Loading branch information
lmcinnes committed Mar 5, 2017
1 parent 91f913d commit 8bac90e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hdbscan/hdbscan_.py
Original file line number Diff line number Diff line change
Expand Up @@ -883,7 +883,7 @@ def generate_prediction_data(self):
you are intending to use functions from ``hdbscan.prediction``.
"""

if self.metric not in FAST_METRICS:
if self.metric in FAST_METRICS:
min_samples = self.min_samples or self.min_cluster_size
if self.metric in KDTree.valid_metrics:
tree_type = 'kdtree'
Expand Down

0 comments on commit 8bac90e

Please sign in to comment.