diff options
Diffstat (limited to 'numpy/oldnumeric/random_array.py')
-rw-r--r-- | numpy/oldnumeric/random_array.py | 2 |
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=[]): |