Skip to content

Commit

Permalink
Re-black
Browse files Browse the repository at this point in the history
  • Loading branch information
lmcinnes committed Sep 7, 2019
1 parent 9d3caa8 commit d35c848
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion pynndescent/distances.py
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,6 @@ def hellinger(x, y):
return np.sqrt(1 - result / np.sqrt(l1_norm_x * l1_norm_y))



named_distances = {
# general minkowski distances
"euclidean": euclidean,
Expand Down
1 change: 0 additions & 1 deletion pynndescent/sparse.py
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,6 @@ def sparse_hellinger(ind1, data1, ind2, data2):
return np.sqrt(1.0 - (result / sqrt_norm_prod))



sparse_named_distances = {
# general minkowski distances
"euclidean": sparse_euclidean,
Expand Down

0 comments on commit d35c848

Please sign in to comment.