summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvorfol <39548292+vorfol@users.noreply.github.com>2020-10-30 10:24:12 +0500
committerGitHub <noreply@github.com>2020-10-30 10:24:12 +0500
commit5da3833b82c251d3d5cdc15d92d5a7e41356a247 (patch)
tree1abc6d1467530a714d18f6429b67c7434b1e19a2
parent8829b807a841911ce18e79b308fee9fb92fb91b6 (diff)
downloadnumpy-5da3833b82c251d3d5cdc15d92d5a7e41356a247.tar.gz
Update nditer_impl.h
operator '+' in line 272 have to advance char** or npy_intp*?
-rw-r--r--numpy/core/src/multiarray/nditer_impl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/src/multiarray/nditer_impl.h b/numpy/core/src/multiarray/nditer_impl.h
index bb483bb1f..378d6f711 100644
--- a/numpy/core/src/multiarray/nditer_impl.h
+++ b/numpy/core/src/multiarray/nditer_impl.h
@@ -269,7 +269,7 @@ struct NpyIter_AD {
#define NAD_STRIDES(axisdata) ( \
&(axisdata)->ad_flexdata + 0)
#define NAD_PTRS(axisdata) ((char **) \
- &(axisdata)->ad_flexdata + 1*(nop+1))
+ (&(axisdata)->ad_flexdata + 1*(nop+1)))
#define NAD_NSTRIDES() \
((nop) + ((itflags&NPY_ITFLAG_HASINDEX) ? 1 : 0))