summaryrefslogtreecommitdiff
path: root/src/Witness_complex/include
diff options
context:
space:
mode:
authorskachano <skachano@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2017-02-20 14:36:19 +0000
committerskachano <skachano@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2017-02-20 14:36:19 +0000
commit81575612aaa0552307a6c744c327765ff89165e4 (patch)
tree30fdc7d7f6cc2dcafaa08303f798376bc198220b /src/Witness_complex/include
parent82337994c1a3f0b3ada14c1a939a68140f016db4 (diff)
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
Diffstat (limited to 'src/Witness_complex/include')
-rw-r--r--src/Witness_complex/include/gudhi/Witness_complex.h8
1 files changed, 0 insertions, 8 deletions
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) {