Skip to content

Commit

Permalink
Merge pull request #415 from tstoertenbecker/issue414
Browse files Browse the repository at this point in the history
Issue #414 changed wording in depth look Mersenne Twister
  • Loading branch information
lvh authored Jun 3, 2021
2 parents a39b3fc + fbdc3c5 commit 33454da
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/random-number-generators.rst
Original file line number Diff line number Diff line change
Expand Up @@ -481,8 +481,8 @@ array :math:`S` consisting of 624 unsigned 32-bit integers, and an index

Whenever the extraction function is called, the index to the current
integer is incremented. When all of the current elements of the state
have been used to produce a number, the state initialization function is
called again. The state initialization function is also called right
have been used to produce a number, the state generation function is
called again. The state initialization function is called right
before the first number is extracted.

So, to recap: the state is regenerated, then the extraction function
Expand Down

0 comments on commit 33454da

Please sign in to comment.