diff options
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/random.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/random.py b/Lib/random.py index c57dc2b..e4073dd 100644 --- a/Lib/random.py +++ b/Lib/random.py @@ -599,7 +599,7 @@ class Random(_random.Random): # Jain, pg. 495 u = 1.0 - self.random() - return 1.0 / pow(u, 1.0/alpha) + return 1.0 / u ** (1.0/alpha) ## -------------------- Weibull -------------------- |