diff options
author | Marc Glisse <marc.glisse@inria.fr> | 2020-10-17 19:15:58 +0200 |
---|---|---|
committer | Marc Glisse <marc.glisse@inria.fr> | 2020-10-17 19:15:58 +0200 |
commit | 27a488386c6a3b2b4dbac43534a36f18ef04ac80 (patch) | |
tree | f601c4e72082c0c73527dce84647bfafb93db281 /src/python | |
parent | 7f2eefc474cb32dc5d566c5c370b03478c1996ac (diff) |
Don't put a (useless) point on the diagonal in the example
Diffstat (limited to 'src/python')
-rw-r--r-- | src/python/doc/bottleneck_distance_user.rst | 8 |
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 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 |