summaryrefslogtreecommitdiff
path: root/src/python/doc/bottleneck_distance_user.rst
diff options
context:
space:
mode:
Diffstat (limited to 'src/python/doc/bottleneck_distance_user.rst')
-rw-r--r--src/python/doc/bottleneck_distance_user.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/python/doc/bottleneck_distance_user.rst b/src/python/doc/bottleneck_distance_user.rst
index 2c74c6dd..7baa76cc 100644
--- a/src/python/doc/bottleneck_distance_user.rst
+++ b/src/python/doc/bottleneck_distance_user.rst
@@ -35,19 +35,19 @@ The following example explains how the distance is computed:
import gudhi
- message = "Bottleneck distance = " + '%.1f' % gudhi.bottleneck_distance([[0., 2.]], [[1., 13.]])
+ message = "Bottleneck distance = " + '%.1f' % gudhi.bottleneck_distance([[0., 0.]], [[0., 13.]])
print(message)
.. testoutput::
- Bottleneck distance = 6.0
+ Bottleneck distance = 6.5
.. figure::
../../doc/Bottleneck_distance/bottleneck_distance_example.png
:figclass: align-center
- The point (1, 13) is at distance 6 from the diagonal and more
- specifically from the point (7, 7).
+ The point (0, 13) is at distance 6.5 from the diagonal and more
+ specifically from the point (6.5, 6.5).
Basic example