diff options
author | Pauli Virtanen <pav@iki.fi> | 2016-09-11 19:30:25 +0200 |
---|---|---|
committer | Pauli Virtanen <pav@iki.fi> | 2017-01-19 22:12:47 +0100 |
commit | f55932a21849d230b39f7f5ced354863756bf6d5 (patch) | |
tree | e6ee49c4ff944b9b96ec238c794fbb2487d622ab /numpy/core/include | |
parent | 0bff7b30466b26963cf4fc1b280eb207b74e9851 (diff) | |
download | numpy-f55932a21849d230b39f7f5ced354863756bf6d5.tar.gz |
BUG: umath: in reduceat, arrays must be copied on overlap even if they are the same
Diffstat (limited to 'numpy/core/include')
-rw-r--r-- | numpy/core/include/numpy/ndarraytypes.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/numpy/core/include/numpy/ndarraytypes.h b/numpy/core/include/numpy/ndarraytypes.h index 06d351a6a..3c5af9408 100644 --- a/numpy/core/include/numpy/ndarraytypes.h +++ b/numpy/core/include/numpy/ndarraytypes.h @@ -1045,6 +1045,11 @@ typedef void (NpyIter_GetMultiIndexFunc)(NpyIter *iter, #define NPY_ITER_WRITEMASKED 0x10000000 /* This array is the mask for all WRITEMASKED operands */ #define NPY_ITER_ARRAYMASK 0x20000000 +/* + * Consider this array as overlapping for COPY_IF_OVERLAP, + * even if it is exactly the same as another array. + */ +#define NPY_ITER_OVERLAP_NOT_SAME 0x40000000 #define NPY_ITER_GLOBAL_FLAGS 0x0000ffff #define NPY_ITER_PER_OP_FLAGS 0xffff0000 |