xorshift standard
This commit is contained in:
parent
32bdc4fd5e
commit
1a05cc0bf6
@ -19,9 +19,9 @@ public:
|
||||
// make sure to call this before requesting any random numbers!
|
||||
|
||||
// NOTE: Valgird complanis to next instruction
|
||||
// std::random_device rd;
|
||||
// std::mt19937_64 gen(rd());
|
||||
std::mt19937_64 gen(time(0));
|
||||
std::random_device rd;
|
||||
std::mt19937_64 gen(rd());
|
||||
// std::mt19937_64 gen(time(0));
|
||||
|
||||
std::uniform_int_distribution<unsigned long long> dist;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user