From d85314eb2cd5b8487ee5cc5c9069e1c8ff311931 Mon Sep 17 00:00:00 2001 From: fgodi Date: Fri, 3 Jun 2016 10:22:53 +0000 Subject: CGAL+ VERSION git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/bottleneckDistance@1246 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: b9bde0a97e56042b84d1850dea34e559dc196b91 --- src/Bottleneck_distance/example/bottleneck_example.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/Bottleneck_distance/example') diff --git a/src/Bottleneck_distance/example/bottleneck_example.cpp b/src/Bottleneck_distance/example/bottleneck_example.cpp index c6a06235..b3d26f3c 100644 --- a/src/Bottleneck_distance/example/bottleneck_example.cpp +++ b/src/Bottleneck_distance/example/bottleneck_example.cpp @@ -34,9 +34,9 @@ int main() { v2.push_back(std::pair(2.8,4.45)); v2.push_back(std::pair(9.5,14.1)); + double b = Gudhi::Bottleneck_distance::compute(v1, v2, 0.0001); + std::cout << "Approx. bottleneck distance = " << b << std::endl; - double b = Gudhi::Bottleneck_distance::compute(v1, v2); - + b = Gudhi::Bottleneck_distance::compute(v1, v2); std::cout << "Bottleneck distance = " << b << std::endl; - } -- cgit v1.2.3