trivial bug fix in example

This commit is contained in:
Monique Teillaud 2016-07-12 14:40:35 +02:00 committed by Iordan Iordanov
parent ebee377df9
commit 83709b6baf
1 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ int main()
CGAL::Random_points_in_disc_2<Point_2, Creator> in_disc(r);
int n = 10000;
std::vector<Point_2> pts;
std::vector<Point_2> pts(n);
std::vector<Point_2>::iterator ip;
// Generating n random points
@ -37,7 +37,7 @@ int main()
pts.at(i) = *in_disc;
in_disc++;
}
timer.start();
Dt dt = Dt(Gt(r));