summaryrefslogtreecommitdiff
path: root/src/python
diff options
context:
space:
mode:
authortlacombe <lacombe1993@gmail.com>2020-03-16 13:18:58 +0100
committertlacombe <lacombe1993@gmail.com>2020-03-16 13:18:58 +0100
commitaa93247860bb01e3fc15926658dd9e6a95198f3d (patch)
tree21bc23d6997d238aa648af1b6305b69090a33de4 /src/python
parent4b546a43fe14178dcfb2b327e27a580fc9811499 (diff)
added mention that _optimal matching should be removed at some point
Diffstat (limited to 'src/python')
-rw-r--r--src/python/gudhi/barycenter.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/python/gudhi/barycenter.py b/src/python/gudhi/barycenter.py
index 3af12c14..517cdb2f 100644
--- a/src/python/gudhi/barycenter.py
+++ b/src/python/gudhi/barycenter.py
@@ -44,6 +44,9 @@ def _optimal_matching(X, Y, withcost=False):
if i >= len(X) or j >= len(Y), it means they
represent the diagonal.
They will be encoded by -1 afterwards.
+
+ NOTE : this code will be removed for final merge,
+ and wasserstein.optimal_matching will be used instead.
'''
n = len(X)