summaryrefslogtreecommitdiff
path: root/numpy/lib
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2012-01-28 12:21:55 -0700
committerCharles Harris <charlesr.harris@gmail.com>2012-02-04 16:11:39 -0700
commit9b12b1d233a8f91216ea7bfd879ae2593a041375 (patch)
tree879b2783021ab0401335e1920c30e7dce3b4bc8c /numpy/lib
parent215a91a9a0e790273a3dc1203709190025ce0641 (diff)
downloadnumpy-9b12b1d233a8f91216ea7bfd879ae2593a041375.tar.gz
STY: lib/src - replace macros in old_defines.h with new.
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;