diff options
author | fgodi <fgodi@636b058d-ea47-450e-bf9e-a15bfbe3eedb> | 2016-06-03 10:22:53 +0000 |
---|---|---|
committer | fgodi <fgodi@636b058d-ea47-450e-bf9e-a15bfbe3eedb> | 2016-06-03 10:22:53 +0000 |
commit | d85314eb2cd5b8487ee5cc5c9069e1c8ff311931 (patch) | |
tree | 04bec913dbb862c98eae08baa9d42200f67c482b /src/Bottleneck_distance/example | |
parent | 714a97d8b9c64a0a5ccc837184def8122ec8b4cd (diff) |
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
Diffstat (limited to 'src/Bottleneck_distance/example')
-rw-r--r-- | src/Bottleneck_distance/example/bottleneck_example.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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<double,double>(2.8,4.45)); v2.push_back(std::pair<double,double>(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; - } |