diff options
author | tlacombe <lacombe1993@gmail.com> | 2019-10-18 22:34:18 +0200 |
---|---|---|
committer | tlacombe <lacombe1993@gmail.com> | 2019-10-18 22:34:18 +0200 |
commit | 94f055579ee1cd2c14940dabc58500cb0d20002f (patch) | |
tree | 4d868b7fbd71e9bf6c7418d13d6591fab1e32881 /src | |
parent | 12f62eca36952053169a71f70169a0e15fa481fc (diff) | |
parent | e0feb6725f3970eea66c8e3268ec1a55020279bd (diff) |
Merge branch 'wdist-theo' of https://github.com/tlacombe/gudhi-devel into wdist-theo
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 32d236c5..445772e4 100644 --- a/src/python/gudhi/wasserstein.py +++ b/src/python/gudhi/wasserstein.py @@ -18,7 +18,7 @@ except ImportError: def _proj_on_diag(X): ''' :param X: (n x 2) array encoding the points of a persistent diagram. - :returns: (n x 2) arary encoding the (respective orthogonal) projections of the points onto the diagonal + :returns: (n x 2) array encoding the (respective orthogonal) projections of the points onto the diagonal ''' Z = (X[:,0] + X[:,1]) / 2. return np.array([Z , Z]).T |