summaryrefslogtreecommitdiff
path: root/src/Subsampling/example/example_choose_n_farthest_points.cpp
diff options
context:
space:
mode:
authorvrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2016-10-06 17:13:24 +0000
committervrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2016-10-06 17:13:24 +0000
commit7e417a80188b8ed4051f73f26e9899f94c33dc1e (patch)
tree3ed60012dd56aa1880980cdf1f3e6a83d98fa84c /src/Subsampling/example/example_choose_n_farthest_points.cpp
parentf7eb2c8060b7a429f360846ce4fcd51490564ce0 (diff)
fix cpplint
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/subsampling_and_spatialsearching@1663 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: 78cab9749df2feaf6d47bf253d4449b043e026e7
Diffstat (limited to 'src/Subsampling/example/example_choose_n_farthest_points.cpp')
-rw-r--r--src/Subsampling/example/example_choose_n_farthest_points.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/Subsampling/example/example_choose_n_farthest_points.cpp b/src/Subsampling/example/example_choose_n_farthest_points.cpp
index 4bcb0eb9..533aba74 100644
--- a/src/Subsampling/example/example_choose_n_farthest_points.cpp
+++ b/src/Subsampling/example/example_choose_n_farthest_points.cpp
@@ -6,16 +6,16 @@
#include <vector>
#include <iterator>
-int main (void)
-{
- typedef CGAL::Epick_d<CGAL::Dimension_tag<4> > K;
- typedef typename K::Point_d Point_d;
-
+int main(void) {
+ typedef CGAL::Epick_d<CGAL::Dimension_tag<4> > K;
+ typedef typename K::Point_d Point_d;
+
CGAL::Random rd;
std::vector<Point_d> points;
- for (int i = 0 ; i < 500 ; ++i)
- points.push_back(Point_d(rd.get_double(-1.,1),rd.get_double(-1.,1),rd.get_double(-1.,1),rd.get_double(-1.,1)));
+ for (int i = 0; i < 500; ++i)
+ points.push_back(Point_d(rd.get_double(-1., 1), rd.get_double(-1., 1),
+ rd.get_double(-1., 1), rd.get_double(-1., 1)));
K k;
std::vector<Point_d> results;