summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
authorTravis Oliphant <oliphant@enthought.com>2008-08-27 20:03:59 +0000
committerTravis Oliphant <oliphant@enthought.com>2008-08-27 20:03:59 +0000
commitda4bbe9a303e53a6e508d6b3ba65636f0781cf32 (patch)
treed4c3c13b7340ff5343cdfd2dbaa07ca5e5428360 /numpy
parenteda3f09142f08498f479f6353c5c063ecef4aac0 (diff)
downloadnumpy-da4bbe9a303e53a6e508d6b3ba65636f0781cf32.tar.gz
Add missing '|' for byteorder.
Diffstat (limited to 'numpy')
-rw-r--r--numpy/core/src/multiarraymodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/src/multiarraymodule.c b/numpy/core/src/multiarraymodule.c
index 7a5a76123..28976cbd7 100644
--- a/numpy/core/src/multiarraymodule.c
+++ b/numpy/core/src/multiarraymodule.c
@@ -5550,7 +5550,7 @@ PyArray_ByteorderConverter(PyObject *obj, char *endian)
}
*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')