summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorROUVREAU Vincent <vincent.rouvreau@inria.fr>2019-08-20 14:33:21 +0200
committerROUVREAU Vincent <vincent.rouvreau@inria.fr>2019-08-20 14:33:21 +0200
commited59f5bf1b35269cf4324dbb72df863bf50dac01 (patch)
tree018f4a4add2ea876e46e62c8db4f4b243249ecfa
parent4d1b8c13a5ad5b1c3271b2944e8327b4937f6956 (diff)
Add include iostream when needed, and remove CGAL includes when not required
-rw-r--r--src/Subsampling/example/example_choose_n_farthest_points.cpp1
-rw-r--r--src/Subsampling/example/example_custom_kernel.cpp4
-rw-r--r--src/Subsampling/example/example_pick_n_random_points.cpp1
-rw-r--r--src/Subsampling/example/example_sparsify_point_set.cpp1
4 files changed, 4 insertions, 3 deletions
diff --git a/src/Subsampling/example/example_choose_n_farthest_points.cpp b/src/Subsampling/example/example_choose_n_farthest_points.cpp
index ebf631fc..5cfeb4d8 100644
--- a/src/Subsampling/example/example_choose_n_farthest_points.cpp
+++ b/src/Subsampling/example/example_choose_n_farthest_points.cpp
@@ -3,6 +3,7 @@
#include <CGAL/Epick_d.h>
#include <CGAL/Random.h>
+#include <iostream>
#include <vector>
#include <iterator>
diff --git a/src/Subsampling/example/example_custom_kernel.cpp b/src/Subsampling/example/example_custom_kernel.cpp
index 2d42bdde..f1eb757b 100644
--- a/src/Subsampling/example/example_custom_kernel.cpp
+++ b/src/Subsampling/example/example_custom_kernel.cpp
@@ -1,8 +1,6 @@
#include <gudhi/choose_n_farthest_points.h>
-#include <CGAL/Epick_d.h>
-#include <CGAL/Random.h>
-
+#include <iostream>
#include <vector>
#include <iterator>
diff --git a/src/Subsampling/example/example_pick_n_random_points.cpp b/src/Subsampling/example/example_pick_n_random_points.cpp
index 1e38e405..25266403 100644
--- a/src/Subsampling/example/example_pick_n_random_points.cpp
+++ b/src/Subsampling/example/example_pick_n_random_points.cpp
@@ -3,6 +3,7 @@
#include <CGAL/Epick_d.h>
#include <CGAL/Random.h>
+#include <iostream>
#include <vector>
#include <iterator>
diff --git a/src/Subsampling/example/example_sparsify_point_set.cpp b/src/Subsampling/example/example_sparsify_point_set.cpp
index b35a18d9..a8caa720 100644
--- a/src/Subsampling/example/example_sparsify_point_set.cpp
+++ b/src/Subsampling/example/example_sparsify_point_set.cpp
@@ -3,6 +3,7 @@
#include <CGAL/Epick_d.h>
#include <CGAL/Random.h>
+#include <iostream>
#include <vector>
#include <iterator>