From c48c29d665fa579ffa5550486f9a9832ed86f283 Mon Sep 17 00:00:00 2001 From: Pierre-Rudolf Gerlach Date: Wed, 3 Apr 2019 11:01:53 +0200 Subject: [PATCH] small fix in README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 94869baf..1291087c 100644 --- a/README.md +++ b/README.md @@ -82,7 +82,7 @@ Any object that fulfills that interface is an `Engine`. - `mt.discard(count)`: Discard `count` random values. More efficient than running `mt.next()` repeatedly. - `mt.getUseCount()`: Return the number of times the engine has been used plus the number of discarded values. -One can seed a Mersenne Twister with the same value (`MersenneTwister19937.seed(value)`) or values (`MersenneTwister19937.seedWithArray(array)`) and discard the number of uses (`mt.getUseCount()`) to achieve the exact same state. +One can seed a Mersenne Twister with the same value (`MersenneTwister19937.seed(value)`) or values (`MersenneTwister19937.seedWithArray(array)`) and discard the number of uses (`mt.discard(count)`) to achieve the exact same state. If you wish to know the initial seed of `MersenneTwister19937.autoSeed()`, it is recommended to use the `createEntropy()` function to create the seed manually (this is what `autoSeed` does under-the-hood).