summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThéo Lacombe <lacombe1993@gmail.com>2021-04-27 09:55:13 +0200
committerGitHub <noreply@github.com>2021-04-27 09:55:13 +0200
commit44085e15a0ce83d8139db7da276d656bd6381026 (patch)
treece22bf6958621e33ad7cdc70727f9f61964c53f3 /src
parent604b2cde0c7951c81d1c510f3038e2c65c19e6fe (diff)
Typo correction - Update src/python/gudhi/wasserstein/wasserstein.py
Co-authored-by: Vincent Rouvreau <10407034+VincentRouvreau@users.noreply.github.com>
Diffstat (limited to 'src')
-rw-r--r--src/python/gudhi/wasserstein/wasserstein.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/python/gudhi/wasserstein/wasserstein.py b/src/python/gudhi/wasserstein/wasserstein.py
index 8ccbe12e..926dec33 100644
--- a/src/python/gudhi/wasserstein/wasserstein.py
+++ b/src/python/gudhi/wasserstein/wasserstein.py
@@ -131,7 +131,7 @@ def _cost_and_match_essential_parts(X, Y, idX, idY, order, axis):
:param Y: (n x 2) numpy.array (dgm points)
:param idX: indices to consider for this one dimensional OT problem (in X)
:param idY: indices to consider for this one dimensional OT problem (in Y)
- :param order: exponent for Wasserstein distanc ecomputation
+ :param order: exponent for Wasserstein distance computation
:param axis: must be 0 or 1, correspond to the coordinate which is finite.
:returns: cost (float) and match for points with *one* infinite coordinate.