summaryrefslogtreecommitdiff
path: root/numpy/oldnumeric/random_array.py
diff options
context:
space:
mode:
authorJarrod Millman <millman@berkeley.edu>2007-10-29 08:33:07 +0000
committerJarrod Millman <millman@berkeley.edu>2007-10-29 08:33:07 +0000
commitdea664f86f0f24f0f999945e20f9b2042d6b159c (patch)
tree8c7b3dcbba4190cc9fc6f042e54af11a639a17e0 /numpy/oldnumeric/random_array.py
parentf6f20d9d0a088a7c1b7484dae47b9ad5d1a99ca6 (diff)
downloadnumpy-dea664f86f0f24f0f999945e20f9b2042d6b159c.tar.gz
fixed typo
Diffstat (limited to 'numpy/oldnumeric/random_array.py')
-rw-r--r--numpy/oldnumeric/random_array.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/oldnumeric/random_array.py b/numpy/oldnumeric/random_array.py
index 2f5479c1f..94c54603f 100644
--- a/numpy/oldnumeric/random_array.py
+++ b/numpy/oldnumeric/random_array.py
@@ -117,7 +117,7 @@ def gamma(a, r, shape=[]):
def F(dfn, dfd, shape=[]):
"""F(dfn, dfd) or F(dfn, dfd, [n, m, ...]) returns array of F distributed random numbers with dfn degrees of freedom in the numerator and dfd degrees of freedom in the denominator."""
if shape == []:
- shape == None
+ shape = None
return mt.f(dfn, dfd, shape)
def noncentral_F(dfn, dfd, nconc, shape=[]):