One more conversion from pow() to **.

This commit is contained in:
Raymond Hettinger 2010-09-08 18:58:33 +00:00
parent 183cd1fae3
commit 8ff1099684
1 changed files with 1 additions and 1 deletions

View File

@ -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 --------------------