Fix comments in example (from review)

This commit is contained in:
Simon Giraudot 2017-12-19 14:25:23 +01:00
parent ab08e1e499
commit ae3dfd8c1f
1 changed files with 3 additions and 2 deletions

View File

@ -17,13 +17,14 @@ typedef CGAL::Optimal_transportation_reconstruction_2<K> Otr;
int main ()
{
// Generate a set of random points on the boundary of a square.
// Generate 100 random points on the boundary of a square.
std::vector<Point> points;
CGAL::Random_points_on_square_2<Point> point_generator(1.);
CGAL::cpp11::copy_n(point_generator, 100, std::back_inserter(points));
Otr otr(points);
Otr otr(points); // no mass given, one unit mass per point assumed
otr.run_under_wasserstein_tolerance(0.1);
return 0;
}