Skip to content

Commit

Permalink
Use default_random (#8616)
Browse files Browse the repository at this point in the history
  • Loading branch information
sloriot authored Dec 4, 2024
2 parents de5dc28 + 84d0f6b commit e6c6f22
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,10 @@ typedef Remeshing_triangulation::Cell_handle Cell_handle;

int main(int argc, char* argv[])
{

const unsigned int nbv = (argc > 1) ? atoi(argv[1]) : 100;

CGAL::Random rng;
CGAL::Random rng = CGAL::get_default_random();
std::cout << "CGAL Random seed = " << CGAL::get_default_random().get_seed() << std::endl;

std::vector<Point> points;
Expand Down

0 comments on commit e6c6f22

Please sign in to comment.