diff options
author | Théo Lacombe <lacombe1993@gmail.com> | 2019-10-18 22:31:38 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-18 22:31:38 +0200 |
commit | e0feb6725f3970eea66c8e3268ec1a55020279bd (patch) | |
tree | 83673b891cef6d11a7a10ebe6070a47a6f671358 /src/python/gudhi | |
parent | a3e609d04f296f80edf622ba1d6e0efe71eb8c41 (diff) |
Update src/python/gudhi/wasserstein.py
typo correction
Co-Authored-By: Marc Glisse <marc.glisse@inria.fr>
Diffstat (limited to 'src/python/gudhi')
-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 |