summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2011-07-11 09:21:03 -0600
committerCharles Harris <charlesr.harris@gmail.com>2011-07-11 09:21:03 -0600
commitfb0f2524a84757fd92ce028c474b88cf9ced40df (patch)
tree0e9db1a575077c4184cd9e4c04f4a21fe335fd2f /numpy
parent789d98fa4316cf0d16d6eee9b5a0aba88036f7d7 (diff)
downloadnumpy-fb0f2524a84757fd92ce028c474b88cf9ced40df.tar.gz
STY: Put some spaces around '&'.
Diffstat (limited to 'numpy')
-rw-r--r--numpy/core/include/numpy/ndarraytypes.h2
-rw-r--r--numpy/core/src/multiarray/nditer_api.c2
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;
/*