From b4df19e0555c0b60c4f074ed0baf642a7d1bdc8b Mon Sep 17 00:00:00 2001 From: Marc Glisse Date: Tue, 10 Nov 2020 00:55:34 +0100 Subject: Revert change to the example It would require updating the figure. --- 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 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 -- cgit v1.2.3