Skip to content

Commit b85c73f

Browse files
committed
fix inorrect passing of arg to metric
1 parent ad42266 commit b85c73f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hdbscan/tests/test_rsl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ def test_rsl_high_dimensional():
128128

129129
labels = RobustSingleLinkage(cut=5.5, algorithm='best',
130130
metric='seuclidean',
131-
V=np.ones(H.shape[1])).fit(H).labels_
131+
metric_params={'V': np.ones(H.shape[1])}).fit(H).labels_
132132
n_clusters_2 = len(set(labels)) - int(-1 in labels)
133133
assert_equal(n_clusters_2, n_clusters)
134134

0 commit comments

Comments
 (0)