fix comment (#1798)
This commit is contained in:
parent
21c2dd7cf8
commit
9f396b605e
|
@ -540,7 +540,7 @@ class Random(_random.Random):
|
||||||
return x * beta
|
return x * beta
|
||||||
|
|
||||||
elif alpha == 1.0:
|
elif alpha == 1.0:
|
||||||
# expovariate(1)
|
# expovariate(1/beta)
|
||||||
u = random()
|
u = random()
|
||||||
while u <= 1e-7:
|
while u <= 1e-7:
|
||||||
u = random()
|
u = random()
|
||||||
|
|
Loading…
Reference in New Issue