summaryrefslogtreecommitdiff
path: root/src/Cech_complex/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/Cech_complex/include')
-rw-r--r--src/Cech_complex/include/gudhi/Cech_complex_blocker.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Cech_complex/include/gudhi/Cech_complex_blocker.h b/src/Cech_complex/include/gudhi/Cech_complex_blocker.h
index fb12946a..3141d27a 100644
--- a/src/Cech_complex/include/gudhi/Cech_complex_blocker.h
+++ b/src/Cech_complex/include/gudhi/Cech_complex_blocker.h
@@ -99,6 +99,10 @@ class Cech_blocker {
#endif // DEBUG_TRACES
}
sph = get_sphere(face_points.cbegin(), face_points.cend());
+ // Put edge sphere in cache
+ sc_ptr_->assign_key(face, cc_ptr_->get_cache().size());
+ cc_ptr_->get_cache().push_back(sph);
+ // Clear face_points
face_points.clear();
}
// Check if the minimal enclosing ball of current face contains the extra point