Skip to content

Commit 8749a9a

Browse files
author
wim glenn
committed
whoops dont need that bit anymore
1 parent d67dc63 commit 8749a9a

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

‎numpy/core/src/multiarray/arraytypes.c.src‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2339,10 +2339,6 @@ UNICODE_nonzero (npy_ucs4 *ip, PyArrayObject *ap)
23392339
ip = (npy_ucs4 *)buffer;
23402340
}
23412341

2342-
if ((len == 1) && (*ip == '\0')) {
2343-
return NPY_FALSE;
2344-
}
2345-
23462342
for (i = 0; i < len; i++) {
23472343
if (*ip == '\0') {
23482344
seen_null = NPY_TRUE;

0 commit comments

Comments
 (0)