Skip to content

Commit

Permalink
code review: Bad log in ut
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentRouvreau committed Feb 14, 2025
1 parent 021561a commit a8d8634
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Alpha_complex/test/Weighted_alpha_complex_unit_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ BOOST_AUTO_TEST_CASE(Is_weighted_alpha_complex_nan) {

Gudhi::alpha_complex::Alpha_complex<Kernel, true> alpha_complex_from_weighted_points(points);

std::clog << "Weighted alpha complex\n";
std::clog << "Weighted alpha complex with squared filtration values - output_squared_values=true\n";
Gudhi::Simplex_tree<> stree;
if (alpha_complex_from_weighted_points.create_complex(stree)) {
for (auto f_simplex : stree.filtration_simplex_range()) {
Expand All @@ -154,7 +154,7 @@ BOOST_AUTO_TEST_CASE(Is_weighted_alpha_complex_nan) {
BOOST_CHECK(!std::isnan(stree.filtration(f_simplex)));
}
}
std::clog << "Weighted alpha complex with output_squared_values\n";
std::clog << "Weighted alpha complex with square root filtration values - output_squared_values=false\n";
Gudhi::Simplex_tree<> stree_sqrt;
// set output_squared_values to false means that negative squared values will be NaN
if (alpha_complex_from_weighted_points.create_complex<false>(stree_sqrt)) {
Expand Down

0 comments on commit a8d8634

Please sign in to comment.