xorshift standard

This commit is contained in:
Marko Budiselic 2016-08-30 23:37:41 +01:00
parent 32bdc4fd5e
commit 1a05cc0bf6

View File

@ -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;