8000 BUG: remove unnecessary call to PyArray_UpdateFlags · melissawm/numpy@a2936fc · GitHub
[go: up one dir, main page]

Skip to content

Commit a2936fc

Browse files
committed
BUG: remove unnecessary call to PyArray_UpdateFlags
1 parent dc78e30 commit a2936fc

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

numpy/_core/src/multiarray/iterators.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,6 @@ PyArray_RawIterBaseInit(PyArrayIterObject *it, PyArrayObject *ao)
136136
nd = PyArray_NDIM(ao);
137137
/* The legacy iterator only supports 32 dimensions */
138138
assert(nd <= NPY_MAXDIMS_LEGACY_ITERS);
139-
PyArray_UpdateFlags(ao, NPY_ARRAY_C_CONTIGUOUS);
140139
if (PyArray_ISCONTIGUOUS(ao)) {
141140
it->contiguous = 1;
142141
}

0 commit comments

Comments
 (0)
0