We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c31864 commit ca6f108Copy full SHA for ca6f108
atari_py/ale_interface/src/external/TinyMT/tinymt32.c
@@ -60,13 +60,14 @@ static void period_certification(tinymt32_t * random) {
60
* @param seed a 32-bit unsigned integer used as a seed.
61
*/
62
void tinymt32_init(tinymt32_t * random, uint32_t seed) {
63
+ int i;
64
+
65
// MGB: These values were apparently drawn from the aether. This isn't good for reproducibility.
66
// I will set them to some bunk values.
67
random->mat1 = 4753849;
68
random->mat2 = 3231259923;
69
random->tmat = 614784120;
70
- int i;
71
random->status[0] = seed;
72
random->status[1] = random->mat1;
73
random->status[2] = random->mat2;
0 commit comments