use default_random

This commit is contained in:
Sébastien Loriot 2024-11-19 17:46:22 +01:00
parent 5aec09a838
commit 84d0f6b9a6
1 changed files with 2 additions and 1 deletions

View File

@ -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;