Skip to content

Commit 3fc2b6f

Browse files
authored
Merge pull request #278 from ricsinaruto/master
Simple additional fix for #231
2 parents 0800b0b + ef10257 commit 3fc2b6f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

hdbscan/prediction.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -443,6 +443,7 @@ def membership_vector(clusterer, points_to_predict):
443443
:py:func:`hdbscan.predict.all_points_membership_vectors`
444444
"""
445445

446+
points_to_predict = points_to_predict.astype(np.float64)
446447
clusters = np.array(
447448
sorted(list(clusterer.condensed_tree_._select_clusters()))).astype(np.intp)
448449

0 commit comments

Comments
 (0)