[Numpy-svn] r4323 - trunk/numpy/oldnumeric

numpy-svn@scip... numpy-svn@scip...
Mon Oct 29 03:33:12 CDT 2007


Author: jarrod.millman
Date: 2007-10-29 03:33:07 -0500 (Mon, 29 Oct 2007)
New Revision: 4323

Modified:
   trunk/numpy/oldnumeric/random_array.py
Log:
fixed typo


Modified: trunk/numpy/oldnumeric/random_array.py
===================================================================
--- trunk/numpy/oldnumeric/random_array.py	2007-10-29 08:31:02 UTC (rev 4322)
+++ trunk/numpy/oldnumeric/random_array.py	2007-10-29 08:33:07 UTC (rev 4323)
@@ -117,7 +117,7 @@
 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=[]):



More information about the Numpy-svn mailing list