Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion chapters/math/generating-predictable-random-numbers.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,4 @@ Avoid the temptation to modulus the output of this generator. If you need an int
r.randn() % 2
{% endhighlight %}

because you will most definitely not get random digits. Use `r.randi(2)` instead.
because you will most definitely not get random digits. Use `r.rand(2)` instead.