Skip to content

Commit

Permalink
fixup! MAINT Mark PairwiseDistancesReductions as unusable for some co…
Browse files Browse the repository at this point in the history
…nfig.
  • Loading branch information
jjerphan committed Sep 15, 2022
1 parent 1d7bcc7 commit fec55bf
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ def is_valid_sparse_matrix(X):
# using sparse-dense routines for matrix-vector multiplications.
fused_sparse_dense_euclidean_case_guard = not (
(is_valid_sparse_matrix(X) or is_valid_sparse_matrix(Y))
and isinstance(metric, str)
and "euclidean" in metric
)

Expand Down

0 comments on commit fec55bf

Please sign in to comment.