summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
Diffstat (limited to 'numpy')
-rw-r--r--numpy/core/code_generators/numpy_api.py2
-rw-r--r--numpy/core/src/multiarray/nditer_api.c2
-rw-r--r--numpy/core/src/multiarray/nditer_pywrap.c4
3 files changed, 4 insertions, 4 deletions
diff --git a/numpy/core/code_generators/numpy_api.py b/numpy/core/code_generators/numpy_api.py
index 7b1fa26c3..5396ee306 100644
--- a/numpy/core/code_generators/numpy_api.py
+++ b/numpy/core/code_generators/numpy_api.py
@@ -325,7 +325,7 @@ multiarray_funcs_api = {
'PyArray_ContainsNA': 285,
'PyArray_AllocateMaskNA': 286,
'NpyIter_GetFirstMaskNAOp': 288,
- 'NpyIter_GetMaskNAIndices': 289,
+ 'NpyIter_GetMaskNAIndexArray': 289,
'PyArray_ReduceMaskArray': 290,
}
diff --git a/numpy/core/src/multiarray/nditer_api.c b/numpy/core/src/multiarray/nditer_api.c
index 996e08144..8a90a7d2e 100644
--- a/numpy/core/src/multiarray/nditer_api.c
+++ b/numpy/core/src/multiarray/nditer_api.c
@@ -773,7 +773,7 @@ NpyIter_GetFirstMaskNAOp(NpyIter *iter)
* of the corresponding maskna operand for the mask.
*/
NPY_NO_EXPORT npy_int8 *
-NpyIter_GetMaskNAIndices(NpyIter *iter)
+NpyIter_GetMaskNAIndexArray(NpyIter *iter)
{
return NIT_MASKNA_INDICES(iter);
}
diff --git a/numpy/core/src/multiarray/nditer_pywrap.c b/numpy/core/src/multiarray/nditer_pywrap.c
index 4c84373b8..37aa8338b 100644
--- a/numpy/core/src/multiarray/nditer_pywrap.c
+++ b/numpy/core/src/multiarray/nditer_pywrap.c
@@ -2088,7 +2088,7 @@ npyiter_seq_item(NewNpyArrayIterObject *self, Py_ssize_t i)
dataptr = self->dataptrs[i];
dtype = self->dtypes[i];
has_external_loop = NpyIter_HasExternalLoop(self->iter);
- maskna_indices = NpyIter_GetMaskNAIndices(self->iter);
+ maskna_indices = NpyIter_GetMaskNAIndexArray(self->iter);
if (has_external_loop) {
innerloopsize = *self->innerloopsizeptr;
@@ -2247,7 +2247,7 @@ npyiter_seq_ass_item(NewNpyArrayIterObject *self, Py_ssize_t i, PyObject *v)
innerstride = 0;
}
- maskna_indices = NpyIter_GetMaskNAIndices(self->iter);
+ maskna_indices = NpyIter_GetMaskNAIndexArray(self->iter);
/* TODO - there should be a better way than this... */
Py_INCREF(dtype);