Skip to content

Commit

Permalink
Increase ascii bias a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
DRMacIver committed Jul 12, 2020
1 parent 04f3dff commit a8945a7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def __init__(

def do_draw(self, data):
if len(self.intervals) > 256:
if biased_coin(data, 0.1):
if biased_coin(data, 0.2):
i = integer_range(data, 256, len(self.intervals) - 1)
else:
i = integer_range(data, 0, 255)
Expand Down

0 comments on commit a8945a7

Please sign in to comment.