From 4689c7d18e257554e48d4b000b8d6596d17db1a1 Mon Sep 17 00:00:00 2001 From: Leland McInnes Date: Tue, 7 Apr 2020 21:19:18 -0400 Subject: [PATCH] First patch - re-blacked --- umap/umap_.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/umap/umap_.py b/umap/umap_.py index 929fcf53..da0c4a52 100644 --- a/umap/umap_.py +++ b/umap/umap_.py @@ -1704,9 +1704,7 @@ def fit(self, X, y=None): if not callable(self.metric): _m = dist.named_distances[self.metric] dmat = dist.pairwise_special_metric( - X[index].toarray(), - metric=_m, - kwds=self._metric_kwds, + X[index].toarray(), metric=_m, kwds=self._metric_kwds, ) else: dmat = dist.pairwise_special_metric(