summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwim glenn <wim.glenn@melbourneit.com.au>2015-06-15 23:14:39 +1000
committerwim glenn <wim.glenn@melbourneit.com.au>2015-06-15 23:14:39 +1000
commit8749a9a95b0b917dfff3872344204c0040b71cef (patch)
treea1b38ca0928939e348c498841fa2e9b059f8c84f
parentd67dc631694585ca84972d2ba1823dac9ca220e1 (diff)
downloadnumpy-8749a9a95b0b917dfff3872344204c0040b71cef.tar.gz
whoops dont need that bit anymore
-rw-r--r--numpy/core/src/multiarray/arraytypes.c.src4
1 files changed, 0 insertions, 4 deletions
diff --git a/numpy/core/src/multiarray/arraytypes.c.src b/numpy/core/src/multiarray/arraytypes.c.src
index 1e0522f4a..c3e14d147 100644
--- a/numpy/core/src/multiarray/arraytypes.c.src
+++ b/numpy/core/src/multiarray/arraytypes.c.src
@@ -2339,10 +2339,6 @@ UNICODE_nonzero (npy_ucs4 *ip, PyArrayObject *ap)
ip = (npy_ucs4 *)buffer;
}
- if ((len == 1) && (*ip == '\0')) {
- return NPY_FALSE;
- }
-
for (i = 0; i < len; i++) {
if (*ip == '\0') {
seen_null = NPY_TRUE;