Skip to content

Commit

Permalink
lp_data backport from main
Browse files Browse the repository at this point in the history
  • Loading branch information
Mizux committed Sep 18, 2024
1 parent d148a3f commit 1dda1bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ortools/lp_data/permutation.h
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ void Permutation<IndexType>::PopulateFromIdentity() {
template <typename IndexType>
void Permutation<IndexType>::PopulateRandomly() {
PopulateFromIdentity();
std::shuffle(perm_.begin(), perm_.end());
std::shuffle(perm_.begin(), perm_.end(), absl::BitGen());
}

template <typename IndexType>
Expand Down

0 comments on commit 1dda1bd

Please sign in to comment.