From a3e609d04f296f80edf622ba1d6e0efe71eb8c41 Mon Sep 17 00:00:00 2001 From: Théo Lacombe Date: Fri, 18 Oct 2019 22:17:48 +0200 Subject: Update src/python/gudhi/wasserstein.py Co-Authored-By: Marc Glisse --- src/python/gudhi/wasserstein.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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) -- cgit v1.2.3