summaryrefslogtreecommitdiff
path: root/src/python/gudhi
diff options
context:
space:
mode:
Diffstat (limited to 'src/python/gudhi')
-rw-r--r--src/python/gudhi/bottleneck.cc3
-rw-r--r--src/python/gudhi/hera/bottleneck.cc3
2 files changed, 5 insertions, 1 deletions
diff --git a/src/python/gudhi/bottleneck.cc b/src/python/gudhi/bottleneck.cc
index 732cb9a8..59be6088 100644
--- a/src/python/gudhi/bottleneck.cc
+++ b/src/python/gudhi/bottleneck.cc
@@ -29,7 +29,8 @@ PYBIND11_MODULE(bottleneck, m) {
py::arg("diagram_1"), py::arg("diagram_2"),
py::arg("e") = (std::numeric_limits<double>::min)(),
R"pbdoc(
- This function returns the point corresponding to a given vertex.
+ Compute the Bottleneck distance between two diagrams.
+ Points at infinity and on the diagonal are supported.
:param diagram_1: The first diagram.
:type diagram_1: numpy array of shape (m,2)
diff --git a/src/python/gudhi/hera/bottleneck.cc b/src/python/gudhi/hera/bottleneck.cc
index 846a3525..0cb562ce 100644
--- a/src/python/gudhi/hera/bottleneck.cc
+++ b/src/python/gudhi/hera/bottleneck.cc
@@ -40,6 +40,9 @@ PYBIND11_MODULE(bottleneck, m) {
Compute the Bottleneck distance between two diagrams.
Points at infinity are supported.
+ .. note::
+ Points on the diagonal are not supported and must be filtered out before calling this function.
+
Parameters:
X (n x 2 numpy array): First diagram
Y (n x 2 numpy array): Second diagram