diff options
author | Marc Glisse <marc.glisse@inria.fr> | 2020-10-31 23:39:01 +0100 |
---|---|---|
committer | Marc Glisse <marc.glisse@inria.fr> | 2020-10-31 23:39:01 +0100 |
commit | 2bbba93e7f0837b42def9bed13a6fa790c0eabda (patch) | |
tree | edb3cd03abdb956117b25413f7c6eb9bbb0b28a9 /src/Subsampling/example/example_choose_n_farthest_points.cpp | |
parent | 6b995c03793096459a333c907b606770113b96d7 (diff) |
s/kernel/distance/ for choose_n_farthest_points argument
Diffstat (limited to 'src/Subsampling/example/example_choose_n_farthest_points.cpp')
-rw-r--r-- | src/Subsampling/example/example_choose_n_farthest_points.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Subsampling/example/example_choose_n_farthest_points.cpp b/src/Subsampling/example/example_choose_n_farthest_points.cpp index 27cf5d4e..e8b3ce2d 100644 --- a/src/Subsampling/example/example_choose_n_farthest_points.cpp +++ b/src/Subsampling/example/example_choose_n_farthest_points.cpp @@ -20,7 +20,7 @@ int main(void) { K k; std::vector<Point_d> results; - Gudhi::subsampling::choose_n_farthest_points(k, points, 100, + Gudhi::subsampling::choose_n_farthest_points(k.squared_distance_d_object(), points, 100, Gudhi::subsampling::random_starting_point, std::back_inserter(results)); std::clog << "Before sparsification: " << points.size() << " points.\n"; |