diff options
Diffstat (limited to 'crawl-ref/source/mt19937ar.cc')
-rw-r--r-- | crawl-ref/source/mt19937ar.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/mt19937ar.cc b/crawl-ref/source/mt19937ar.cc index 2b5697aeb5..ac114a4eb3 100644 --- a/crawl-ref/source/mt19937ar.cc +++ b/crawl-ref/source/mt19937ar.cc @@ -94,7 +94,7 @@ void init_genrand(unsigned long s) mt[0]= s & 0xffffffffUL; for (mti=1; mti<N; mti++) { mt[mti] = - (1812433253UL * (mt[mti-1] ^ (mt[mti-1] >> 30)) + mti); + (1812433253UL * (mt[mti-1] ^ (mt[mti-1] >> 30)) + mti); /* See Knuth TAOCP Vol2. 3rd Ed. P.106 for multiplier. */ /* In the previous versions, MSBs of the seed affect */ /* only MSBs of the array mt[]. */ |