diff options
author | glisse <glisse@636b058d-ea47-450e-bf9e-a15bfbe3eedb> | 2015-11-15 10:04:32 +0000 |
---|---|---|
committer | glisse <glisse@636b058d-ea47-450e-bf9e-a15bfbe3eedb> | 2015-11-15 10:04:32 +0000 |
commit | b15b9c7f6f5dd232dee897c96d65f5f77e215314 (patch) | |
tree | 3b7839417fa099a7e11f4160fca36386006326f2 /src | |
parent | 5f76846eb3d04e0f6dda2de91825009078ea8268 (diff) |
Fix for older libstdc++.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/trunk@922 636b058d-ea47-450e-bf9e-a15bfbe3eedb
Former-commit-id: d370bbf81488ef6b07a17d63ad43ba2b813e2210
Diffstat (limited to 'src')
-rw-r--r-- | src/Persistent_cohomology/include/gudhi/Persistent_cohomology.h | 2 |
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 609f40a2..2a405830 100644 --- a/src/Persistent_cohomology/include/gudhi/Persistent_cohomology.h +++ b/src/Persistent_cohomology/include/gudhi/Persistent_cohomology.h @@ -455,7 +455,7 @@ class Persistent_cohomology { } // Place identical annotations consecutively so we can easily sum their multiplicities. std::sort(annotations_in_boundary.begin(), annotations_in_boundary.end(), - [](annotation_t& a, annotation_t& b) { return a.first < b.first; }); + [](annotation_t const& a, annotation_t const& b) { return a.first < b.first; }); // Sum the annotations with multiplicity, using a map<key,coeff> // to represent a sparse vector. |