[Scipy-svn] r2301 - trunk/Lib/sandbox/arraysetops

scipy-svn at scipy.org scipy-svn at scipy.org
Fri Nov 3 10:31:01 CST 2006


Author: rkern
Date: 2006-11-03 10:30:58 -0600 (Fri, 03 Nov 2006)
New Revision: 2301

Modified:
   trunk/Lib/sandbox/arraysetops/arraysetops.py
Log:
Fix syntax error.

Modified: trunk/Lib/sandbox/arraysetops/arraysetops.py
===================================================================
--- trunk/Lib/sandbox/arraysetops/arraysetops.py	2006-10-30 23:12:34 UTC (rev 2300)
+++ trunk/Lib/sandbox/arraysetops/arraysetops.py	2006-11-03 16:30:58 UTC (rev 2301)
@@ -62,7 +62,7 @@
     ar = numpy.array( ar1 ).ravel()
     if retIndx:
         perm = numpy.argsort( ar )
-        aux = numpy.take( ar, perm 0,axis=0)
+        aux = numpy.take( ar, perm, axis=0)
         flag = ediff1d( aux, 1 ) != 0
         return numpy.compress( flag, perm ,axis=-1), numpy.compress( flag, aux ,axis=-1)
     else:



More information about the Scipy-svn mailing list