summaryrefslogtreecommitdiff
path: root/src/Subsampling/include/gudhi/sparsify_point_set.h
diff options
context:
space:
mode:
authorcjamin <cjamin@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2016-06-01 12:11:48 +0000
committercjamin <cjamin@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2016-06-01 12:11:48 +0000
commitd40d646eefb3460f64ca0dac56da47ae863bf37d (patch)
treedb88dcfb4b058dec478be8eb3d9ab8a69f30b8f9 /src/Subsampling/include/gudhi/sparsify_point_set.h
parentbb56631552ff8cf431d2286470223f7394cb2846 (diff)
Clean-up
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/subsampling_and_spatialsearching@1237 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: 6d60dce225c8705c8f441ec454c425f663a899d8
Diffstat (limited to 'src/Subsampling/include/gudhi/sparsify_point_set.h')
-rw-r--r--src/Subsampling/include/gudhi/sparsify_point_set.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/Subsampling/include/gudhi/sparsify_point_set.h b/src/Subsampling/include/gudhi/sparsify_point_set.h
index a6844919..859f2295 100644
--- a/src/Subsampling/include/gudhi/sparsify_point_set.h
+++ b/src/Subsampling/include/gudhi/sparsify_point_set.h
@@ -73,8 +73,6 @@ sparsify_point_set(
std::size_t neighbor_point_idx = neighbor.first;
// If the neighbor is too close, we drop the neighbor
if (neighbor.second < min_squared_dist)
- //if (neighbor.second < 0.2*((*it_pt)[0] + 1.)*0.5 + 0.00005)
- //if (neighbor.second < ((*it_pt)[0] < 0 ? 0.2 : 0.00001))
{
// N.B.: If neighbor_point_idx < pt_idx,
// dropped_points[neighbor_point_idx] is already true but adding a