Skip to content

Commit 16016c9

Browse files
committed
Merge pull request #85 from brigand/patch-2
r.randi is undefined, should be r.rand
2 parents 428588a + 3d3acde commit 16016c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

chapters/math/generating-predictable-random-numbers.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,4 +62,4 @@ Avoid the temptation to modulus the output of this generator. If you need an int
6262
r.randn() % 2
6363
{% endhighlight %}
6464

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

0 commit comments

Comments
 (0)