Skip to content

Commit

Permalink
First patch - re-blacked
Browse files Browse the repository at this point in the history
  • Loading branch information
lmcinnes committed Apr 8, 2020
1 parent 124baeb commit 4689c7d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions umap/umap_.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 4689c7d

Please sign in to comment.