diff options
author | vorfol <39548292+vorfol@users.noreply.github.com> | 2020-10-30 10:24:12 +0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-30 10:24:12 +0500 |
commit | 5da3833b82c251d3d5cdc15d92d5a7e41356a247 (patch) | |
tree | 1abc6d1467530a714d18f6429b67c7434b1e19a2 | |
parent | 8829b807a841911ce18e79b308fee9fb92fb91b6 (diff) | |
download | numpy-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.h | 2 |
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)) |