From d40d646eefb3460f64ca0dac56da47ae863bf37d Mon Sep 17 00:00:00 2001 From: cjamin Date: Wed, 1 Jun 2016 12:11:48 +0000 Subject: 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 --- src/Subsampling/include/gudhi/sparsify_point_set.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/Subsampling') 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 -- cgit v1.2.3