summaryrefslogtreecommitdiff
path: root/src/python/doc/wasserstein_distance_user.rst
diff options
context:
space:
mode:
authortlacombe <lacombe1993@gmail.com>2019-09-23 18:10:14 +0200
committertlacombe <lacombe1993@gmail.com>2019-09-23 18:10:14 +0200
commit36dfb09493f56f666367df39e5d1a170e49a1a23 (patch)
tree0c1c337a963f4b9a94a14435a212f296b4649865 /src/python/doc/wasserstein_distance_user.rst
parentcb3346903c8b37ca617bf8c01e00eedc03031624 (diff)
updated doc for sphinx compilation
Diffstat (limited to 'src/python/doc/wasserstein_distance_user.rst')
-rw-r--r--src/python/doc/wasserstein_distance_user.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/python/doc/wasserstein_distance_user.rst b/src/python/doc/wasserstein_distance_user.rst
index a51cfb71..bcb7f19d 100644
--- a/src/python/doc/wasserstein_distance_user.rst
+++ b/src/python/doc/wasserstein_distance_user.rst
@@ -25,6 +25,7 @@ Note that persistence diagrams must be submitted as (n x 2) numpy arrays and mus
.. testcode::
import gudhi
+ import numpy as np
diag1 = np.array([[2.7, 3.7],[9.6, 14.],[34.2, 34.974]])
diag2 = np.array([[2.8, 4.45],[9.5, 14.1]])