summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Rouvreau <vincent.rouvreau@inria.fr>2022-06-15 09:41:57 +0200
committerVincent Rouvreau <vincent.rouvreau@inria.fr>2022-06-15 09:41:57 +0200
commit70cc462f71703f011fd5b8ba9da668b58f09059c (patch)
treec479c0e14089b0fc5bed314da68610664f292efb
parentbcc2c9584dc07d1cfcb870746110c524827d3bfa (diff)
Fix warning and debug traces
-rw-r--r--src/Alpha_complex/include/gudhi/Alpha_complex.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Alpha_complex/include/gudhi/Alpha_complex.h b/src/Alpha_complex/include/gudhi/Alpha_complex.h
index 5a0f0643..aec8c1b1 100644
--- a/src/Alpha_complex/include/gudhi/Alpha_complex.h
+++ b/src/Alpha_complex/include/gudhi/Alpha_complex.h
@@ -461,7 +461,6 @@ class Alpha_complex {
void propagate_alpha_filtration(SimplicialComplexForAlpha& complex, Simplex_handle f_simplex) {
// From SimplicialComplexForAlpha type required to assign filtration values.
using Filtration_value = typename SimplicialComplexForAlpha::Filtration_value;
- using Vertex_handle = typename SimplicialComplexForAlpha::Vertex_handle;
// ### Foreach Tau face of Sigma
for (auto face_opposite_vertex : complex.boundary_opposite_vertex_simplex_range(f_simplex)) {
@@ -489,7 +488,7 @@ class Alpha_complex {
auto const& cache=get_cache(complex, f_boundary);
bool is_gab = kernel_.is_gabriel(cache, get_point_(face_opposite_vertex.second));
#ifdef DEBUG_TRACES
- std::clog << " | Tau is_gabriel(Sigma)=" << is_gab << " - vertexForGabriel=" << extra << std::endl;
+ std::clog << " | Tau is_gabriel(Sigma)=" << is_gab << " - vertexForGabriel=" << face_opposite_vertex.second << std::endl;
#endif // DEBUG_TRACES
// ### If Tau is not Gabriel of Sigma
if (false == is_gab) {