Change RNG to Xorshift64
This commit is contained in:
1 parent
800a6ffd11
commit
42fc64c136
1 file changed
+3
-1
+3
-1
@@ -3,7 +3,9 @@ import std.random;
|
||||
|
||||
class Random
|
||||
{
|
||||
LinearCongruentialEngine!(uint, 16_807, 0, 2_147_483_647)[8] engine;
|
||||
alias RandomType = Xorshift64;
|
||||
//LinearCongruentialEngine!(uint, 16_807, 0, 2_147_483_647)[8] engine;
|
||||
RandomType[8] engine;
|
||||
public this()
|
||||
{
|
||||
foreach (e; engine)
|
||||
|
||||
Reference in new issue
Block a user