From a6019b584f64d63bfd6613104dd4388882c545ac Mon Sep 17 00:00:00 2001 From: Hind-M Date: Wed, 29 Dec 2021 16:33:16 +0100 Subject: Fix bad gudhi_check in Cech benchmark --- src/Cech_complex/benchmark/cech_complex_benchmark.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Cech_complex/benchmark/cech_complex_benchmark.cpp') diff --git a/src/Cech_complex/benchmark/cech_complex_benchmark.cpp b/src/Cech_complex/benchmark/cech_complex_benchmark.cpp index e489e8a4..2e4adce4 100644 --- a/src/Cech_complex/benchmark/cech_complex_benchmark.cpp +++ b/src/Cech_complex/benchmark/cech_complex_benchmark.cpp @@ -49,7 +49,7 @@ class Minimal_enclosing_ball_radius { point_cloud.push_back(p1); point_cloud.push_back(p2); - GUDHI_CHECK((p1.end() - p1.begin()) != (p2.end() - p2.begin()), "inconsistent point dimensions"); + GUDHI_CHECK((p1.end() - p1.begin()) == (p2.end() - p2.begin()), "inconsistent point dimensions"); Min_sphere min_sphere(p1.end() - p1.begin(), point_cloud.begin(), point_cloud.end()); return std::sqrt(min_sphere.squared_radius()); -- cgit v1.2.3