Cleanup MersenneTwister

This commit is contained in:
Christoph Diehl 2017-04-06 16:18:36 +02:00
parent 7c7ebd7e40
commit ed2884cc38
1 changed files with 1 additions and 1 deletions

View File

@ -81,6 +81,6 @@ function MersenneTwister()
};
this.genrand_real2 = function () {
return this.genrand_int32() * (1.0 / 4294967296.0);
return this.int32() * (1.0 / 4294967296.0);
}
}