3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-02-02 15:26:17 +00:00

fix build warnings

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2026-01-23 15:36:47 -08:00
parent 445f995c54
commit e65aa0e7d5
2 changed files with 2 additions and 2 deletions

View file

@ -362,7 +362,7 @@ public:
template<typename T>
void shuffle(std::span<T> array, random_gen & gen) {
int n = array.size();
auto n = array.size();
while (--n > 0) {
int k = gen() % (n + 1);
std::swap(array[n], array[k]);