diff options
-rw-r--r-- | numpy/core/include/numpy/ndarraytypes.h | 2 | ||||
-rw-r--r-- | numpy/core/src/multiarray/nditer_api.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/numpy/core/include/numpy/ndarraytypes.h b/numpy/core/include/numpy/ndarraytypes.h index a4340dfad..0f0673825 100644 --- a/numpy/core/include/numpy/ndarraytypes.h +++ b/numpy/core/include/numpy/ndarraytypes.h @@ -1456,7 +1456,7 @@ typedef npy_uint8 npy_mask; static NPY_INLINE npy_bool NpyMask_IsExposed(npy_mask mask) { - return (mask&0x01) != 0; + return (mask & 0x01) != 0; } /* diff --git a/numpy/core/src/multiarray/nditer_api.c b/numpy/core/src/multiarray/nditer_api.c index dfc891925..4eda968db 100644 --- a/numpy/core/src/multiarray/nditer_api.c +++ b/numpy/core/src/multiarray/nditer_api.c @@ -1863,7 +1863,7 @@ npyiter_copy_from_buffers(NpyIter *iter) "operand %d (%d items)\n", (int)iop, (int)op_transfersize); - if (op_itflags[iop]&NPY_OP_ITFLAG_WRITEMASKED) { + if (op_itflags[iop] & NPY_OP_ITFLAG_WRITEMASKED) { npy_uint8 *maskptr; /* |