summaryrefslogtreecommitdiff
path: root/src/Subsampling/example/example_custom_kernel.cpp
diff options
context:
space:
mode:
authorvrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2017-04-10 16:40:38 +0000
committervrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2017-04-10 16:40:38 +0000
commit7c018fc5120bf25b88bc287f0f5793984b3e4732 (patch)
tree82dc822e23f276daec84cc09a0fb410c31c40bfe /src/Subsampling/example/example_custom_kernel.cpp
parenteb0bd21b93509e8a2cb9485ac46dcba128893538 (diff)
parentd6a275cde67490784f1f7a4362c07a1132672344 (diff)
Merge branch farthest distance
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/trunk@2330 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: fc24c2112694ac41b71a639ccc6da7351afcefc2
Diffstat (limited to 'src/Subsampling/example/example_custom_kernel.cpp')
-rw-r--r--src/Subsampling/example/example_custom_kernel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Subsampling/example/example_custom_kernel.cpp b/src/Subsampling/example/example_custom_kernel.cpp
index 25b5bf6c..2719ee90 100644
--- a/src/Subsampling/example/example_custom_kernel.cpp
+++ b/src/Subsampling/example/example_custom_kernel.cpp
@@ -54,7 +54,7 @@ int main(void) {
std::vector<Point_d> points = {0, 1, 2, 3};
std::vector<Point_d> results;
- Gudhi::subsampling::choose_n_farthest_points(k, points, 2, std::back_inserter(results));
+ Gudhi::subsampling::choose_n_farthest_points(k, points, 2, Gudhi::subsampling::random_starting_point, std::back_inserter(results));
std::cout << "Before sparsification: " << points.size() << " points.\n";
std::cout << "After sparsification: " << results.size() << " points.\n";
std::cout << "Result table: {" << results[0] << "," << results[1] << "}\n";