From 765fea21345eeca5e0886423453b1903113174a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Loriot?= Date: Thu, 9 Jan 2025 10:18:25 +0100 Subject: [PATCH] use the same generator for reproducible runs --- .../test_tetrahedral_remeshing_of_one_subdomain.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tetrahedral_remeshing/test/Tetrahedral_remeshing/test_tetrahedral_remeshing_of_one_subdomain.cpp b/Tetrahedral_remeshing/test/Tetrahedral_remeshing/test_tetrahedral_remeshing_of_one_subdomain.cpp index e6e1f222c61e..45632b69d1f3 100644 --- a/Tetrahedral_remeshing/test/Tetrahedral_remeshing/test_tetrahedral_remeshing_of_one_subdomain.cpp +++ b/Tetrahedral_remeshing/test/Tetrahedral_remeshing/test_tetrahedral_remeshing_of_one_subdomain.cpp @@ -18,7 +18,7 @@ typedef CGAL::Tetrahedral_remeshing::Remeshing_triangulation_3 Remeshing_tria void generate_input_two_subdomains(const std::size_t nbv, Remeshing_triangulation& tr) { - CGAL::Random rng; + CGAL::Random& rng = CGAL::get_default_random(); typedef Remeshing_triangulation::Point Point; typedef Remeshing_triangulation::Cell_handle Cell_handle;