summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatti Picus <matti.picus@gmail.com>2022-03-13 16:14:55 +0200
committerGitHub <noreply@github.com>2022-03-13 16:14:55 +0200
commit6bc8712dbdb3db48e401bfe5e4acff386e70bf03 (patch)
tree3c5262b19763a18e60db86d1efb3b11ef248df6f
parent3dbbaf9efab5aa814955b37f5e5cadbc2459d13f (diff)
downloadnumpy-6bc8712dbdb3db48e401bfe5e4acff386e70bf03.tar.gz
Update numpy/core/src/multiarray/item_selection.c
Co-authored-by: Sebastian Berg <sebastian@sipsolutions.net>
-rw-r--r--numpy/core/src/multiarray/item_selection.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/src/multiarray/item_selection.c b/numpy/core/src/multiarray/item_selection.c
index a0fd0a574..5e70c406a 100644
--- a/numpy/core/src/multiarray/item_selection.c
+++ b/numpy/core/src/multiarray/item_selection.c
@@ -2646,7 +2646,7 @@ PyArray_Nonzero(PyArrayObject *self)
* stalls that are very expensive on most modern processors.
*/
else {
- npy_intp * multi_index_end = multi_index + nonzero_count;
+ npy_intp *multi_index_end = multi_index + nonzero_count;
npy_intp j = 0;
while (multi_index + 4 < multi_index_end) {