diff options
author | Gard Spreemann <gspr@nonempty.org> | 2020-01-17 15:37:17 +0100 |
---|---|---|
committer | Gard Spreemann <gspr@nonempty.org> | 2020-01-17 15:37:17 +0100 |
commit | 9acc59fcc1d5001a212e7b9cd6f00a569a625882 (patch) | |
tree | 0f8c3a3c29a9fef6394394a9650198b348bff130 /src/Nerve_GIC/include/gudhi/GIC.h | |
parent | 5ccee32ec2ba38743c6b96867db3e1b5151e45e4 (diff) | |
parent | cabc43b34723efa7640313348b844eabe9971e38 (diff) |
Merge tag 'tags/gudhi-release-3.1.0.rc1' into dfsg/latest
Diffstat (limited to 'src/Nerve_GIC/include/gudhi/GIC.h')
-rw-r--r-- | src/Nerve_GIC/include/gudhi/GIC.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/Nerve_GIC/include/gudhi/GIC.h b/src/Nerve_GIC/include/gudhi/GIC.h index fc6a2a91..a47d6889 100644 --- a/src/Nerve_GIC/include/gudhi/GIC.h +++ b/src/Nerve_GIC/include/gudhi/GIC.h @@ -48,11 +48,6 @@ #include <cassert> #include <cmath> -// Make compilation fail - required for external projects - https://github.com/GUDHI/gudhi-devel/issues/10 -#if CGAL_VERSION_NR < 1041101000 -# error Alpha_complex_3d is only available for CGAL >= 4.11 -#endif - namespace Gudhi { namespace cover_complex { @@ -712,7 +707,7 @@ class Cover_complex { // Sort points according to function values std::vector<int> points(n); for (int i = 0; i < n; i++) points[i] = i; - std::sort(points.begin(), points.end(), [=](const int & p1, const int & p2){return (this->func[p1] < this->func[p2]);}); + std::sort(points.begin(), points.end(), [this](int p1, int p2){return (this->func[p1] < this->func[p2]);}); int id = 0; int pos = 0; |