summaryrefslogtreecommitdiff
path: root/numpy/lib
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2012-02-04 16:12:10 -0700
committerCharles Harris <charlesr.harris@gmail.com>2012-02-04 16:12:10 -0700
commit5b59ae23cb435c6d8ecb3d81d7c98aa5aa00d7c0 (patch)
treeb30b07685d414b08d1eb17eb05d524b493baff0e /numpy/lib
parent48d6edb89112bf00eaaa55f4b7d284b68a9ab84f (diff)
parentbbf49fcad1ac5029ab31235e90235c6161ea41ba (diff)
downloadnumpy-5b59ae23cb435c6d8ecb3d81d7c98aa5aa00d7c0.tar.gz
Merge branch 'replace-old-defines'
* replace-old-defines: DOC: clarify numpy version for removal, document sed script better. STY: Fix up the 2.0 (1.7) release notes. DEP: Deprecate the old_defines.h header and the macros therein. UPDATE: Replace macros in old_defines.h by new. DOC: numpybook - Replace macro names in old_defines.h with new. DOC: Replace references to macros in old_defines with new. STY: Replace more found macros in old_defines.h with new. ENH: Add sed script that replaces macros in old_defines.h. STY: f2py - replace macros in old_defines.h with new. STY: linalg - replace macros in old_defines.h with new. STY: fft - replace macros in old_defines.h with new. STY: lib/src - replace macros in old_defines.h with new. STY: core/src - replace macros in old_defines.h with new versions.
Diffstat (limited to 'numpy/lib')
-rw-r--r--numpy/lib/src/_compiled_base.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/lib/src/_compiled_base.c b/numpy/lib/src/_compiled_base.c
index e4513d512..536b048f5 100644
--- a/numpy/lib/src/_compiled_base.c
+++ b/numpy/lib/src/_compiled_base.c
@@ -754,7 +754,7 @@ arr_ravel_multi_index(PyObject *self, PyObject *args, PyObject *kwds)
PyArrayObject *ret = NULL;
PyArray_Dims dimensions={0,0};
npy_intp ravel_strides[NPY_MAXDIMS];
- PyArray_ORDER order = NPY_CORDER;
+ NPY_ORDER order = NPY_CORDER;
NPY_CLIPMODE modes[NPY_MAXDIMS];
PyArrayObject *op[NPY_MAXARGS];
@@ -962,7 +962,7 @@ arr_unravel_index(PyObject *self, PyObject *args, PyObject *kwds)
PyArrayObject *indices = NULL;
PyArray_Descr *dtype = NULL;
PyArray_Dims dimensions={0,0};
- PyArray_ORDER order = PyArray_CORDER;
+ NPY_ORDER order = NPY_CORDER;
npy_intp unravel_size;
NpyIter *iter = NULL;