diff options
author | Vincent Rouvreau <10407034+VincentRouvreau@users.noreply.github.com> | 2022-01-03 22:44:12 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-03 22:44:12 +0100 |
commit | ba7628c3b81171c65113c2df131cd683b26c2964 (patch) | |
tree | 615dd522194c4230187341fea51e4a2236fd7920 | |
parent | 6b8f24647a6f290f4e2f2f307de660dfae93cc90 (diff) | |
parent | a6019b584f64d63bfd6613104dd4388882c545ac (diff) |
Merge pull request #561 from Hind-M/gudhi_check
Fix bad GUDHI_CHECK in Cech benchmark
-rw-r--r-- | src/Cech_complex/benchmark/cech_complex_benchmark.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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()); |