[Numpy-svn] r5716 - trunk/numpy/core/src

numpy-svn@scip... numpy-svn@scip...
Wed Aug 27 15:03:59 CDT 2008


Author: oliphant
Date: 2008-08-27 15:03:59 -0500 (Wed, 27 Aug 2008)
New Revision: 5716

Modified:
   trunk/numpy/core/src/multiarraymodule.c
Log:
Add missing '|' for byteorder.

Modified: trunk/numpy/core/src/multiarraymodule.c
===================================================================
--- trunk/numpy/core/src/multiarraymodule.c	2008-08-27 14:31:18 UTC (rev 5715)
+++ trunk/numpy/core/src/multiarraymodule.c	2008-08-27 20:03:59 UTC (rev 5716)
@@ -5550,7 +5550,7 @@
     }
     *endian = str[0];
     if (str[0] != PyArray_BIG && str[0] != PyArray_LITTLE &&        \
-        str[0] != PyArray_NATIVE) {
+        str[0] != PyArray_NATIVE && str[0] != PyArray_IGNORE) {
         if (str[0] == 'b' || str[0] == 'B')
             *endian = PyArray_BIG;
         else if (str[0] == 'l' || str[0] == 'L')



More information about the Numpy-svn mailing list