summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Rouvreau <10407034+VincentRouvreau@users.noreply.github.com>2022-01-03 22:44:12 +0100
committerGitHub <noreply@github.com>2022-01-03 22:44:12 +0100
commitba7628c3b81171c65113c2df131cd683b26c2964 (patch)
tree615dd522194c4230187341fea51e4a2236fd7920
parent6b8f24647a6f290f4e2f2f307de660dfae93cc90 (diff)
parenta6019b584f64d63bfd6613104dd4388882c545ac (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.cpp2
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());