summaryrefslogtreecommitdiff
path: root/src/python/gudhi/wasserstein.py
diff options
context:
space:
mode:
authorMarc Glisse <marc.glisse@inria.fr>2019-11-14 13:13:38 +0100
committerMarc Glisse <marc.glisse@inria.fr>2019-11-18 14:02:29 +0100
commit63616eba3031334d8e2c267e54f9aa4a801baeff (patch)
tree009edcb8aa24520488fabac63d00ca04c591b183 /src/python/gudhi/wasserstein.py
parentda7a9e0eea4702f3b3d59a8770ef89ffa19ff345 (diff)
Make the license a comment instead of a string
I think this interacts better with sphinx automodule
Diffstat (limited to 'src/python/gudhi/wasserstein.py')
-rw-r--r--src/python/gudhi/wasserstein.py17
1 files changed, 8 insertions, 9 deletions
diff --git a/src/python/gudhi/wasserstein.py b/src/python/gudhi/wasserstein.py
index eba7c6d5..d8a3104c 100644
--- a/src/python/gudhi/wasserstein.py
+++ b/src/python/gudhi/wasserstein.py
@@ -5,15 +5,14 @@ try:
except ImportError:
print("POT (Python Optimal Transport) package is not installed. Try to run $ conda install -c conda-forge pot ; or $ pip install POT")
-""" This file is part of the Gudhi Library - https://gudhi.inria.fr/ - which is released under MIT.
- See file LICENSE or go to https://gudhi.inria.fr/licensing/ for full license details.
- Author(s): Theo Lacombe
-
- Copyright (C) 2019 Inria
-
- Modification(s):
- - YYYY/MM Author: Description of the modification
-"""
+# This file is part of the Gudhi Library - https://gudhi.inria.fr/ - which is released under MIT.
+# See file LICENSE or go to https://gudhi.inria.fr/licensing/ for full license details.
+# Author(s): Theo Lacombe
+#
+# Copyright (C) 2019 Inria
+#
+# Modification(s):
+# - YYYY/MM Author: Description of the modification
def _proj_on_diag(X):
'''