summaryrefslogtreecommitdiff
path: root/src/Persistent_cohomology/include
diff options
context:
space:
mode:
authorglisse <glisse@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2015-09-16 14:30:58 +0000
committerglisse <glisse@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2015-09-16 14:30:58 +0000
commit2cb6a5648f6c4a21f83a41faad6b598bd0a02832 (patch)
tree2cac4d947b883acac07fdcf42f3e9b63d222017f /src/Persistent_cohomology/include
parentb794795019e80008cd44a01fe4fb27cdc5e0e916 (diff)
Filtration_simplex_iterator's reference type does not have to be a reference, and Simplex_handle has to be cheap anyway.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/trunk@789 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: a3fbf340b9ab3d2186616f14f4b96d3188dafd14
Diffstat (limited to 'src/Persistent_cohomology/include')
-rw-r--r--src/Persistent_cohomology/include/gudhi/Persistent_cohomology.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Persistent_cohomology/include/gudhi/Persistent_cohomology.h b/src/Persistent_cohomology/include/gudhi/Persistent_cohomology.h
index 4c818ffa..c6593cc4 100644
--- a/src/Persistent_cohomology/include/gudhi/Persistent_cohomology.h
+++ b/src/Persistent_cohomology/include/gudhi/Persistent_cohomology.h
@@ -243,7 +243,7 @@ class Persistent_cohomology {
column_pool_(), // memory pools for the CAM
cell_pool_() {
Simplex_key idx_fil = 0;
- for (auto & sh : cpx_->filtration_simplex_range()) {
+ for (auto sh : cpx_->filtration_simplex_range()) {
cpx_->assign_key(sh, idx_fil);
++idx_fil;
dsets_.make_set(cpx_->key(sh));