From 1dda1bd639679516f0b19b719e52b5c8b4820854 Mon Sep 17 00:00:00 2001 From: Corentin Le Molgat Date: Wed, 18 Sep 2024 11:57:55 +0200 Subject: [PATCH] lp_data backport from main --- ortools/lp_data/permutation.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ortools/lp_data/permutation.h b/ortools/lp_data/permutation.h index c7b585ef6af..716b715b233 100644 --- a/ortools/lp_data/permutation.h +++ b/ortools/lp_data/permutation.h @@ -154,7 +154,7 @@ void Permutation::PopulateFromIdentity() { template void Permutation::PopulateRandomly() { PopulateFromIdentity(); - std::shuffle(perm_.begin(), perm_.end()); + std::shuffle(perm_.begin(), perm_.end(), absl::BitGen()); } template