[Scipy-svn] r4741 - trunk/scipy/stats

scipy-svn at scipy.org scipy-svn at scipy.org
Wed Sep 24 13:17:52 EDT 2008


Author: oliphant
Date: 2008-09-24 12:17:51 -0500 (Wed, 24 Sep 2008)
New Revision: 4741

Modified:
   trunk/scipy/stats/_support.py
Log:
Remove typecode from _support

Modified: trunk/scipy/stats/_support.py
===================================================================
--- trunk/scipy/stats/_support.py	2008-09-21 03:15:27 UTC (rev 4740)
+++ trunk/scipy/stats/_support.py	2008-09-24 17:17:51 UTC (rev 4741)
@@ -48,7 +48,7 @@
                 except TypeError:
                     uniques = np.concatenate([uniques,np.array([item])])
     else:                                  # IT MUST BE A 2+D ARRAY
-        if inarray.typecode() != 'O':  # not an Object array
+        if inarray.dtype.char != 'O':  # not an Object array
             for item in inarray[1:]:
                 if not np.sum(np.alltrue(np.equal(uniques,item),1),axis=0):
                     try:




More information about the Scipy-svn mailing list