diff options
author | vrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb> | 2016-01-21 20:46:10 +0000 |
---|---|---|
committer | vrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb> | 2016-01-21 20:46:10 +0000 |
commit | 9ce621289b5061e30329426aef5695ae3e19a099 (patch) | |
tree | a0093e2081ef0dadb4c05828c362c9431c49fb04 /src/Witness_complex/include/gudhi/Landmark_choice_by_random_point.h | |
parent | 6697ad2e4f76e706eae12f5153988691daea1202 (diff) |
cpplint/cppcheck fixes
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/VR_witness@985 636b058d-ea47-450e-bf9e-a15bfbe3eedb
Former-commit-id: 4dc15b3ab0eecb8d4f5bbb1ac1cb9dabf95233e4
Diffstat (limited to 'src/Witness_complex/include/gudhi/Landmark_choice_by_random_point.h')
-rw-r--r-- | src/Witness_complex/include/gudhi/Landmark_choice_by_random_point.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Witness_complex/include/gudhi/Landmark_choice_by_random_point.h b/src/Witness_complex/include/gudhi/Landmark_choice_by_random_point.h index 215c9e65..4747dd73 100644 --- a/src/Witness_complex/include/gudhi/Landmark_choice_by_random_point.h +++ b/src/Witness_complex/include/gudhi/Landmark_choice_by_random_point.h @@ -76,7 +76,7 @@ class Landmark_choice_by_random_point { std::set<int>::iterator landmarks_it; int landmarks_i = 0; for (landmarks_it = landmarks.begin(), landmarks_i = 0; landmarks_it != landmarks.end(); - landmarks_it++, landmarks_i++) { + ++landmarks_it, landmarks_i++) { dist_i dist = std::make_pair(euclidean_distance(points[points_i], points[*landmarks_it]), landmarks_i); l_heap.push(dist); } |