summaryrefslogtreecommitdiff
path: root/src/Cech_complex/include/gudhi/Cech_complex_blocker.h
diff options
context:
space:
mode:
authorHind-M <hind.montassif@gmail.com>2022-07-06 11:24:29 +0200
committerHind-M <hind.montassif@gmail.com>2022-07-06 11:24:29 +0200
commit51f599d16a43e2c8e831284c6320b73324873c17 (patch)
tree2944152dd7faa8d9a8a3d48ddd5340a45e1ad873 /src/Cech_complex/include/gudhi/Cech_complex_blocker.h
parent7b4772c00c834bcc6693b48ce0b8431461ba8a53 (diff)
Switch lines to use intermediate variable
Diffstat (limited to 'src/Cech_complex/include/gudhi/Cech_complex_blocker.h')
-rw-r--r--src/Cech_complex/include/gudhi/Cech_complex_blocker.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Cech_complex/include/gudhi/Cech_complex_blocker.h b/src/Cech_complex/include/gudhi/Cech_complex_blocker.h
index c6f02857..fc92e8fa 100644
--- a/src/Cech_complex/include/gudhi/Cech_complex_blocker.h
+++ b/src/Cech_complex/include/gudhi/Cech_complex_blocker.h
@@ -92,8 +92,8 @@ class Cech_blocker {
#endif // DEBUG_TRACES
}
// Put edge sphere in cache
- sc_ptr_->assign_key(face_opposite_vertex.first, cc_ptr_->get_cache().size());
sph_key = cc_ptr_->get_cache().size();
+ sc_ptr_->assign_key(face_opposite_vertex.first, sph_key);
cc_ptr_->get_cache().push_back(get_sphere(points.cbegin(), points.cend()));
// Clear face points
points.clear();