summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaime Fernandez <jaime.frio@gmail.com>2015-06-01 22:13:12 -0700
committerJaime Fernandez <jaime.frio@gmail.com>2015-06-01 22:13:12 -0700
commit4969b1ac2ceb4576fd34991abb990fb9856dd613 (patch)
treef272c391d4fde369b620188f9975c05027615791
parent9e7a0b224b4a7859efc1bc80b7ccc5c86c83d3df (diff)
downloadnumpy-4969b1ac2ceb4576fd34991abb990fb9856dd613.tar.gz
MANT: Remove unused macro _PyArray_ITER_NEXT3
The _PyArray_ITER_NEXT3 macro is not used in PyArray_ITER_NEXT, and has syntax errors that would fail compilation if used.
-rw-r--r--numpy/core/include/numpy/ndarraytypes.h21
1 files changed, 0 insertions, 21 deletions
diff --git a/numpy/core/include/numpy/ndarraytypes.h b/numpy/core/include/numpy/ndarraytypes.h
index edae27c72..c11e2505a 100644
--- a/numpy/core/include/numpy/ndarraytypes.h
+++ b/numpy/core/include/numpy/ndarraytypes.h
@@ -1099,27 +1099,6 @@ struct PyArrayIterObject_tag {
} \
} while (0)
-#define _PyArray_ITER_NEXT3(it) do { \
- if ((it)->coordinates[2] < (it)->dims_m1[2]) { \
- (it)->coordinates[2]++; \
- (it)->dataptr += (it)->strides[2]; \
- } \
- else { \
- (it)->coordinates[2] = 0; \
- (it)->dataptr -= (it)->backstrides[2]; \
- if ((it)->coordinates[1] < (it)->dims_m1[1]) { \
- (it)->coordinates[1]++; \
- (it)->dataptr += (it)->strides[1]; \
- } \
- else { \
- (it)->coordinates[1] = 0; \
- (it)->coordinates[0]++; \
- (it)->dataptr += (it)->strides[0] \
- (it)->backstrides[1]; \
- } \
- } \
-} while (0)
-
#define PyArray_ITER_NEXT(it) do { \
_PyAIT(it)->index++; \
if (_PyAIT(it)->nd_m1 == 0) { \