Skip to content

Commit efa25da

Browse files
committed
Don't edit code late at night.
1 parent de0c952 commit efa25da

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
@@ -123,7 +123,7 @@ def _hdbscan_generic(X, min_samples=5, alpha=1.0,
123123
if gen_min_span_tree:
124124
result_min_span_tree = min_spanning_tree.copy()
125125
for index, row in enumerate(result_min_span_tree[1:], 1):
126-
candidates = np.where(np.isclose(mutual_reachability_[int(row[1])], row[2]))[0]
126+
candidates = np.where(isclose(mutual_reachability_[int(row[1])], row[2]))[0]
127127
candidates = np.intersect1d(candidates, min_spanning_tree[:index, :2].astype(int))
128128
candidates = candidates[candidates != row[1]]
129129
assert (len(candidates) > 0)

0 commit comments

Comments
 (0)