Skip to content

random -> numpy.random#146

Merged
ftomassetti merged 6 commits intoMindwerks:masterfrom
tcld:rng_refine
Oct 30, 2015
Merged

random -> numpy.random#146
ftomassetti merged 6 commits intoMindwerks:masterfrom
tcld:rng_refine

Conversation

@tcld
Copy link
Copy Markdown
Contributor

@tcld tcld commented Oct 23, 2015

Here the replacement of all uses of the random-module with respective numpy-methods.
Since this is kind of a break with save-compatibility and...everything, I guess, I also took the freedom to include some small changes so they aren't necessary in the future - I will add comments to the code to point them out and explain them.

Notes:

  1. This is based on Make use of Numpy-Arrays #138 .
  2. This does not pass the ancient-map tests (since that one uses RNG to determine its outcome)

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants