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
|
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()
|
public this()
|
||||||
{
|
{
|
||||||
foreach (e; engine)
|
foreach (e; engine)
|
||||||
|
|||||||
Reference in new issue
Block a user