8000 Merge pull request #19008 from cgohlke/patch-2 · constanzafierro/numpy@f1eeb83 · GitHub
[go: up one dir, main page]

Skip to content

Commit f1eeb83

Browse files
authored
Merge pull request numpy#19008 from cgohlke/patch-2
BUG: fix variable misprint in multiarray test code
2 parents f07535e + be34216 commit f1eeb83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

numpy/core/src/multiarray/_multiarray_tests.c.src

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@ test_neighborhood_iterator_oob(PyObject* NPY_UNUSED(self), PyObject* args)
416416
niterx2 = (PyArrayNeighborhoodIterObject*)PyArray_NeighborhoodIterNew(
417417
(PyArrayIterObject*)niterx1, bounds,
418418
mode2, NULL);
419-
if (niterx1 == NULL) {
419+
if (niterx2 == NULL) {
420420
goto clean_niterx1;
421421
}
422422

0 commit comments

Comments
 (0)
0