Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
#include <type_traits>
#include <typeinfo>
#include <vector>
#include <random>

namespace CGAL {
namespace Polygon_mesh_processing {
Expand Down Expand Up @@ -430,8 +431,8 @@ self_intersections_impl(const FaceRange& face_range,
{
// We are going to split the range into a number of smaller ranges. To handle
// smaller trees of roughly the same size, we first apply a random shuffle to the range
CGAL::Random rng(seed);
CGAL::cpp98::random_shuffle(box_ptr.begin(), box_ptr.end(), rng);
std::default_random_engine rng(seed);
std::shuffle(box_ptr.begin(), box_ptr.end(), rng);

// Write in a concurrent vector all pairs that intersect
typedef tbb::concurrent_vector<std::pair<face_descriptor, face_descriptor> > Face_pairs;
Expand Down