diff options
author | Hind-M <hind.montassif@gmail.com> | 2022-07-06 11:24:29 +0200 |
---|---|---|
committer | Hind-M <hind.montassif@gmail.com> | 2022-07-06 11:24:29 +0200 |
commit | 51f599d16a43e2c8e831284c6320b73324873c17 (patch) | |
tree | 2944152dd7faa8d9a8a3d48ddd5340a45e1ad873 /src | |
parent | 7b4772c00c834bcc6693b48ce0b8431461ba8a53 (diff) |
Switch lines to use intermediate variable
Diffstat (limited to 'src')
-rw-r--r-- | src/Cech_complex/include/gudhi/Cech_complex_blocker.h | 2 |
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(); |