From 1a05cc0bf6bc88d35d86aefd6b76db167a4c38c9 Mon Sep 17 00:00:00 2001 From: Marko Budiselic Date: Tue, 30 Aug 2016 23:37:41 +0100 Subject: [PATCH] xorshift standard --- include/utils/random/xorshift128plus.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/utils/random/xorshift128plus.hpp b/include/utils/random/xorshift128plus.hpp index cccc001db..8788660cd 100644 --- a/include/utils/random/xorshift128plus.hpp +++ b/include/utils/random/xorshift128plus.hpp @@ -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 dist;