summaryrefslogtreecommitdiff
path: root/src/Subsampling
diff options
context:
space:
mode:
authorcjamin <cjamin@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2016-08-30 14:58:51 +0000
committercjamin <cjamin@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2016-08-30 14:58:51 +0000
commit6d54bc010287d731f5d9a054491beb229c972ba3 (patch)
treef66fe76050499d969b6f721d393af44bae8b4ae0 /src/Subsampling
parent4da47219339ce8bee2a42d1ffcf6e5c9d0d61e0b (diff)
Fix function name
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/subsampling_and_spatialsearching@1462 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: f11c5f25649eae2e85dffe02d78675ff4bc3db8c
Diffstat (limited to 'src/Subsampling')
-rw-r--r--src/Subsampling/include/gudhi/sparsify_point_set.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Subsampling/include/gudhi/sparsify_point_set.h b/src/Subsampling/include/gudhi/sparsify_point_set.h
index 3923bf74..ca31098b 100644
--- a/src/Subsampling/include/gudhi/sparsify_point_set.h
+++ b/src/Subsampling/include/gudhi/sparsify_point_set.h
@@ -87,7 +87,7 @@ sparsify_point_set(
*output_it++ = *it_pt;
- auto ins_range = points_ds.query_incremental_ANN(*it_pt);
+ auto ins_range = points_ds.query_incremental_nearest_neighbors(*it_pt);
// If another point Q is closer that min_squared_dist, mark Q to be dropped
for (auto const& neighbor : ins_range)