Fix the use of a deprecated function.

This commit is contained in:
Laurent Rineau 2010-12-10 10:12:10 +00:00
parent 7bbc9cb1b7
commit f90bce1b33
2 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@ int main()
// create a set of random points:
Point_list P;
CGAL::Random_points_in_iso_box_d<Point> rpg(d,100.0);
CGAL::Random_points_in_cube_d<Point> rpg(d,100.0);
for (int i = 0; i < n; ++i) {
P.push_back(*rpg);
++rpg;

View File

@ -27,7 +27,7 @@ int main()
// create a set of random points:
Point_list P;
CGAL::Random_points_in_iso_box_d<Point> rpg(d,1.0);
CGAL::Random_points_in_cube_d<Point> rpg(d,1.0);
for (int i = 0; i < n; ++i) {
P.push_back(*rpg);
++rpg;