summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
Diffstat (limited to 'numpy')
-rw-r--r--numpy/core/src/multiarray/multiarraymodule_onefile.c5
-rw-r--r--numpy/core/src/multiarray/new_iterator.c.src6
-rw-r--r--numpy/core/tests/test_new_iterator.py1
3 files changed, 7 insertions, 5 deletions
diff --git a/numpy/core/src/multiarray/multiarraymodule_onefile.c b/numpy/core/src/multiarray/multiarraymodule_onefile.c
index ab6b4cc80..89f6dab32 100644
--- a/numpy/core/src/multiarray/multiarraymodule_onefile.c
+++ b/numpy/core/src/multiarray/multiarraymodule_onefile.c
@@ -35,6 +35,11 @@
#include "conversion_utils.c"
#include "buffer.c"
+#include "new_iterator.c"
+#include "new_iterator_pywrap.c"
+#include "lowlevel_strided_loops.c"
+
+
#ifndef Py_UNICODE_WIDE
#include "ucsnarrow.c"
diff --git a/numpy/core/src/multiarray/new_iterator.c.src b/numpy/core/src/multiarray/new_iterator.c.src
index f4a1d0b9a..b42b08845 100644
--- a/numpy/core/src/multiarray/new_iterator.c.src
+++ b/numpy/core/src/multiarray/new_iterator.c.src
@@ -1113,10 +1113,8 @@ int NpyIter_GotoIndex(NpyIter *iter, npy_intp index)
/**begin repeat
* #const_itflags = 0,
* NPY_ITFLAG_HASINDEX,
- * NPY_ITFLAG_NOINNER,
- * NPY_ITFLAG_BUFFER,
- * NPY_ITFLAG_HASINDEX|NPY_ITFLAG_BUFFER#
- * #tag_itflags = 0, IND, NOINN, BUF, INDuBUF#
+ * NPY_ITFLAG_NOINNER#
+ * #tag_itflags = 0, IND, NOINN#
*/
/**begin repeat1
* #const_ndim = 1, 2, 100#
diff --git a/numpy/core/tests/test_new_iterator.py b/numpy/core/tests/test_new_iterator.py
index 7054f0a47..749a4fcae 100644
--- a/numpy/core/tests/test_new_iterator.py
+++ b/numpy/core/tests/test_new_iterator.py
@@ -1140,7 +1140,6 @@ def test_iter_cast_buffering():
op_dtypes=[np.dtype('f8')],
buffersize=3)
for v in i:
- print v
v[()] *= 2
assert_equal(a, 2*np.arange(10, dtype='f4'))