diff options
author | Théo Lacombe <lacombe1993@gmail.com> | 2019-10-18 22:17:48 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-18 22:17:48 +0200 |
commit | a3e609d04f296f80edf622ba1d6e0efe71eb8c41 (patch) | |
tree | 911863043ef64937994e59572b532a35a5aff285 /src | |
parent | a625d5879beaaae47118bc79fda17f441483dffe (diff) |
Update src/python/gudhi/wasserstein.py
Co-Authored-By: Marc Glisse <marc.glisse@inria.fr>
Diffstat (limited to 'src')
-rw-r--r-- | src/python/gudhi/wasserstein.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/python/gudhi/wasserstein.py b/src/python/gudhi/wasserstein.py index 4e17811d..32d236c5 100644 --- a/src/python/gudhi/wasserstein.py +++ b/src/python/gudhi/wasserstein.py @@ -69,7 +69,7 @@ def wasserstein_distance(X, Y, p=2., q=2.): :param Y: (m x 2) numpy.array encoding the second diagram. :param q: Ground metric on the (upper-half) plane (i.e. norm l_q in R^2); Default value is 2 (euclidean norm). :param p: exponent for Wasserstein; Default value is 2. - :returns: the p-Wasserstein distance (1 <= p < infty) with respect to the q-norm as ground metric. + :returns: the p-Wasserstein distance (1 <= p < infinity) with respect to the q-norm as ground metric. :rtype: float ''' n = len(X) |