From 15bde92aee2be63d384ac1d3e4468bb0d0486b46 Mon Sep 17 00:00:00 2001 From: Sakura-chan the goat Date: Sun, 28 May 2023 06:26:04 +0900 Subject: [PATCH] Correct spelling of 'probability' --- src/Random.elm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Random.elm b/src/Random.elm index 5c68ccb..2670564 100644 --- a/src/Random.elm +++ b/src/Random.elm @@ -327,7 +327,7 @@ So there is a 40% chance of getting `Six`, a 20% chance of getting `Five`, and then a 10% chance for each of the remaining faces. **Note:** I made the weights add up to 100, but that is not necessary. I always -add up your weights into a `total`, and from there, the probablity of each case +add up your weights into a `total`, and from there, the probability of each case is `weight / total`. Negative weights do not really make sense, so I just flip them to be positive. -}