From 27a488386c6a3b2b4dbac43534a36f18ef04ac80 Mon Sep 17 00:00:00 2001 From: Marc Glisse Date: Sat, 17 Oct 2020 19:15:58 +0200 Subject: Don't put a (useless) point on the diagonal in the example --- src/python/doc/bottleneck_distance_user.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/python/doc/bottleneck_distance_user.rst b/src/python/doc/bottleneck_distance_user.rst index 6c6e08d9..418dd11f 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., 0.]], [[0., 13.]]) + message = "Bottleneck distance = " + '%.1f' % gudhi.bottleneck_distance([[0., 2.]], [[1., 13.]]) print(message) .. testoutput:: - Bottleneck distance = 6.5 + Bottleneck distance = 6.0 .. figure:: ../../doc/Bottleneck_distance/bottleneck_distance_example.png :figclass: align-center - The point (0, 13) is at distance 6.5 from the diagonal and more - specifically from the point (6.5, 6.5) + The point (1, 13) is at distance 6 from the diagonal and more + specifically from the point (7, 7). Basic example -- cgit v1.2.3