summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortlacombe <lacombe1993@gmail.com>2020-03-31 12:49:22 +0200
committertlacombe <lacombe1993@gmail.com>2020-03-31 12:49:22 +0200
commitdae83f0907a5bd94cb483ad0f54755da2d49fb75 (patch)
tree5b495780b67ba1d4b6485eab39aec08a16b8cb39
parenteeeac06a05ee99ae5780b3f37f107680a680985a (diff)
changed into import .barycenter for local import in wasserstein, and modified index to remove barycenter doc
-rw-r--r--src/python/doc/index.rst4
-rw-r--r--src/python/gudhi/wasserstein.py2
2 files changed, 1 insertions, 5 deletions
diff --git a/src/python/doc/index.rst b/src/python/doc/index.rst
index 96cd3513..0e484483 100644
--- a/src/python/doc/index.rst
+++ b/src/python/doc/index.rst
@@ -71,10 +71,6 @@ Wasserstein distance
.. include:: wasserstein_distance_sum.inc
-Barycenter
-============
-
-.. include:: barycenter_sum.inc
Persistence representations
===========================
diff --git a/src/python/gudhi/wasserstein.py b/src/python/gudhi/wasserstein.py
index 8f03039b..760eea8c 100644
--- a/src/python/gudhi/wasserstein.py
+++ b/src/python/gudhi/wasserstein.py
@@ -9,7 +9,7 @@
import numpy as np
import scipy.spatial.distance as sc
-import barycenter
+import .barycenter
try:
import ot
except ImportError: