From af74316148165cb01c9f28b8b05e1b9764e4579a Mon Sep 17 00:00:00 2001 From: Hind-M Date: Fri, 4 Mar 2022 14:05:15 +0100 Subject: Use Euclidean_distance instead of CGAL dependant Sphere_circumradius for Rips in Cech benchmark --- src/Cech_complex/benchmark/cech_complex_benchmark.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Cech_complex/benchmark/cech_complex_benchmark.cpp b/src/Cech_complex/benchmark/cech_complex_benchmark.cpp index b283e1a8..bf013a81 100644 --- a/src/Cech_complex/benchmark/cech_complex_benchmark.cpp +++ b/src/Cech_complex/benchmark/cech_complex_benchmark.cpp @@ -107,8 +107,7 @@ int main(int argc, char* argv[]) { std::clog << itr->path().stem() << ";"; std::clog << radius << ";"; Gudhi::Clock rips_clock("Rips computation"); - Rips_complex rips_complex_from_points(off_reader_cgal.get_point_cloud(), radius, - Gudhi::cech_complex::Sphere_circumradius()); + Rips_complex rips_complex_from_points(off_reader.get_point_cloud(), radius, Gudhi::Euclidean_distance()); Simplex_tree rips_stree; rips_complex_from_points.create_complex(rips_stree, p0.size() - 1); // ------------------------------------------ -- cgit v1.2.3