summaryrefslogtreecommitdiff
path: root/src/Subsampling/include/gudhi/choose_by_farthest_point.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Subsampling/include/gudhi/choose_by_farthest_point.h')
-rw-r--r--src/Subsampling/include/gudhi/choose_by_farthest_point.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Subsampling/include/gudhi/choose_by_farthest_point.h b/src/Subsampling/include/gudhi/choose_by_farthest_point.h
index 61a21f44..9877d5eb 100644
--- a/src/Subsampling/include/gudhi/choose_by_farthest_point.h
+++ b/src/Subsampling/include/gudhi/choose_by_farthest_point.h
@@ -25,6 +25,8 @@
#include <gudhi/Spatial_tree_data_structure.h>
+#include <boost/range.hpp>
+
#include <iterator>
#include <algorithm> // for sort
#include <vector>
@@ -73,7 +75,7 @@ namespace Gudhi {
for (current_number_of_landmarks = 0; current_number_of_landmarks != nbL; current_number_of_landmarks++) {
// curr_max_w at this point is the next landmark
*output_it++ = points[curr_max_w];
- std::cout << curr_max_w << "\n";
+ // std::cout << curr_max_w << "\n";
unsigned i = 0;
for (auto& p : points) {
double curr_dist = sqdist(p, *(std::begin(points) + curr_max_w));