Closed Samasaur1 closed 5 years ago
Currently, you can easily create a Chances instance that has Chances that sum to greater than 1. This issue proposes a function that normalizes the Chances instance so that it sums to 1
Chances
Chance
This actually is necessary for WeightedDie to do #59
WeightedDie
Currently, you can easily create a
Chances
instance that hasChance
s that sum to greater than 1. This issue proposes a function that normalizes theChances
instance so that it sums to 1