Skip to content

Commit cec01ec

Browse files
authored
Clean up whitespace
1 parent 95c7788 commit cec01ec

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Lib/random.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -836,9 +836,9 @@ def binomialvariate(self, n=1, p=0.5):
836836
if not c:
837837
return x
838838
while True:
839-
y += _floor(_log2(random()) / c) + 1
840-
if y > n:
841-
return x
839+
y += _floor(_log2(random()) / c) + 1
840+
if y > n:
841+
return x
842842
x += 1
843843

844844
# BTRS: Transformed rejection with squeeze method by Wolfgang Hörmann

0 commit comments

Comments
 (0)