From 81575612aaa0552307a6c744c327765ff89165e4 Mon Sep 17 00:00:00 2001 From: skachano Date: Mon, 20 Feb 2017 14:36:19 +0000 Subject: Hugely improved the complexity of the weak witness complex. git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/relaxed-witness@2086 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: 93fb1d9d1b52ce17b913db080b2ec0692056f87b --- src/Witness_complex/include/gudhi/Witness_complex.h | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/Witness_complex') diff --git a/src/Witness_complex/include/gudhi/Witness_complex.h b/src/Witness_complex/include/gudhi/Witness_complex.h index d95ff2a3..d808de57 100644 --- a/src/Witness_complex/include/gudhi/Witness_complex.h +++ b/src/Witness_complex/include/gudhi/Witness_complex.h @@ -181,14 +181,6 @@ private: // If norelax_dist is infinity, change to first omitted distance if (l_it->second <= norelax_dist2) norelax_dist2 = l_it->second; - typename ActiveWitness::iterator next_it = l_it; - will_be_active = add_all_faces_of_dimension(dim, - alpha2, - norelax_dist2, - ++next_it, - simplex, - sc, - end) || will_be_active; } else if (dim == 0) for (; l_it->second - alpha2 <= norelax_dist2 && l_it != end; ++l_it) { -- cgit v1.2.3