summaryrefslogtreecommitdiff
path: root/src/Subsampling/include/gudhi/choose_n_farthest_points.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Subsampling/include/gudhi/choose_n_farthest_points.h')
-rw-r--r--src/Subsampling/include/gudhi/choose_n_farthest_points.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Subsampling/include/gudhi/choose_n_farthest_points.h b/src/Subsampling/include/gudhi/choose_n_farthest_points.h
index 8bfb38a4..d0f7377a 100644
--- a/src/Subsampling/include/gudhi/choose_n_farthest_points.h
+++ b/src/Subsampling/include/gudhi/choose_n_farthest_points.h
@@ -105,9 +105,9 @@ namespace subsampling {
template < typename Kernel,
typename Point_container,
typename OutputIterator>
- void choose_n_farthest_points( Kernel& k,
+ void choose_n_farthest_points( Kernel const& k,
Point_container const &input_pts,
- int final_size,
+ unsigned final_size,
OutputIterator output_it)
{
// Choose randomly the first landmark