diff options
author | tlacombe <lacombe1993@gmail.com> | 2019-12-16 18:11:27 +0100 |
---|---|---|
committer | tlacombe <lacombe1993@gmail.com> | 2019-12-16 18:11:27 +0100 |
commit | b4fcc875393df12f42aea84b918b5b35f99f7283 (patch) | |
tree | ecd20ef8936174e23f662dc1048f3f947d4d9228 /src/python/doc | |
parent | 5877b4d3b7aca645ba906dfe0be598b1881d8798 (diff) |
correction of typo in _user.rst and of empty array shape in test_wasserstein_barycenter
Diffstat (limited to 'src/python/doc')
-rw-r--r-- | src/python/doc/barycenter_user.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/python/doc/barycenter_user.rst b/src/python/doc/barycenter_user.rst index 1c4cb812..5344583f 100644 --- a/src/python/doc/barycenter_user.rst +++ b/src/python/doc/barycenter_user.rst @@ -33,7 +33,7 @@ Note that persistence diagrams must be submitted as (n x 2) numpy arrays and mus dg3 = np.array([[0.3, 0.6], [0.7, 0.8], [0.2, 0.3]]) dg4 = np.array([]) - bary = gudhi.barycenter.lagrangian_barycenter(pdiagset=[dg1, dg2, dg3, dg4],init=3)) + bary = gudhi.barycenter.lagrangian_barycenter(pdiagset=[dg1, dg2, dg3, dg4],init=3) message = "Wasserstein barycenter estimated:" print(message) |