[Numpy-svn] r5062 - trunk/numpy/core/code_generators

numpy-svn@scip... numpy-svn@scip...
Mon Apr 21 22:48:31 CDT 2008


Author: charris
Date: 2008-04-21 22:48:21 -0500 (Mon, 21 Apr 2008)
New Revision: 5062

Modified:
   trunk/numpy/core/code_generators/generate_umath.py
Log:
Fix incorrect output types for some ufuncs.
This fixes ticket #747.


Modified: trunk/numpy/core/code_generators/generate_umath.py
===================================================================
--- trunk/numpy/core/code_generators/generate_umath.py	2008-04-21 10:57:11 UTC (rev 5061)
+++ trunk/numpy/core/code_generators/generate_umath.py	2008-04-22 03:48:21 UTC (rev 5062)
@@ -257,25 +257,25 @@
     Ufunc(2, 1, One,
           'returns x1 and x2 elementwise.',
           TD(noobj, out='?'),
-          TD(M, f='logical_and', out='?'),
+          TD(M, f='logical_and'),
           ),
 'logical_not' :
     Ufunc(1, 1, None,
           'returns not x elementwise.',
           TD(noobj, out='?'),
-          TD(M, f='logical_not', out='?'),
+          TD(M, f='logical_not'),
           ),
 'logical_or' :
     Ufunc(2, 1, Zero,
           'returns x1 or x2 elementwise.',
           TD(noobj, out='?'),
-          TD(M, f='logical_or', out='?'),
+          TD(M, f='logical_or'),
           ),
 'logical_xor' :
     Ufunc(2, 1, None,
           'returns x1 xor x2 elementwise.',
           TD(noobj, out='?'),
-          TD(M, f='logical_xor', out='?'),
+          TD(M, f='logical_xor'),
           ),
 'maximum' :
     Ufunc(2, 1, None,



More information about the Numpy-svn mailing list