summaryrefslogtreecommitdiff
path: root/src/Alpha_complex/example/Alpha_complex_from_points.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Alpha_complex/example/Alpha_complex_from_points.cpp')
-rw-r--r--src/Alpha_complex/example/Alpha_complex_from_points.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/Alpha_complex/example/Alpha_complex_from_points.cpp b/src/Alpha_complex/example/Alpha_complex_from_points.cpp
index b160d702..e2610dbd 100644
--- a/src/Alpha_complex/example/Alpha_complex_from_points.cpp
+++ b/src/Alpha_complex/example/Alpha_complex_from_points.cpp
@@ -1,8 +1,8 @@
-#include <stdio.h>
#include <stdlib.h>
#include <CGAL/Delaunay_triangulation.h>
#include <CGAL/Epick_d.h>
+#include <iostream>
#include <string>
#include <vector>
@@ -33,8 +33,7 @@ int main(int argc, char **argv) {
// Init of an alpha complex from the list of points
// ----------------------------------------------------------------------------
double max_alpha_square_value = 1e10;
- Gudhi::alphacomplex::Alpha_complex<Kernel> alpha_complex_from_points(3, points.size(), points.begin(), points.end(),
- max_alpha_square_value);
+ Gudhi::alphacomplex::Alpha_complex<Kernel> alpha_complex_from_points(3, points, max_alpha_square_value);
// ----------------------------------------------------------------------------
// Display information about the alpha complex