summaryrefslogtreecommitdiff
path: root/ot/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'ot/utils.py')
-rw-r--r--ot/utils.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/ot/utils.py b/ot/utils.py
index 14cc805..bb21b38 100644
--- a/ot/utils.py
+++ b/ot/utils.py
@@ -76,6 +76,7 @@ def clean_zeros(a, b, M):
b2 = b[b > 0]
return a2, b2, M2
+
def euclidean_distances(X, Y, squared=False):
"""
Considering the rows of X (and Y=X) as vectors, compute the