summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Bourque <jay.bourque@continuum.io>2013-05-23 13:08:17 -0500
committerJay Bourque <jay.bourque@continuum.io>2013-08-16 16:39:32 -0500
commit9438a8f133edb4c3329746d8c23988a55f9d969a (patch)
treef7ec3b871415289146983e906578aec9c1d37e97
parentf899c19ac4c56b1c541b757df78ffe6c1f3e22a3 (diff)
downloadnumpy-9438a8f133edb4c3329746d8c23988a55f9d969a.tar.gz
More clean up
-rw-r--r--numpy/core/src/umath/ufunc_object.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/numpy/core/src/umath/ufunc_object.c b/numpy/core/src/umath/ufunc_object.c
index e0a45ca28..950f8add1 100644
--- a/numpy/core/src/umath/ufunc_object.c
+++ b/numpy/core/src/umath/ufunc_object.c
@@ -4883,13 +4883,10 @@ ufunc_at(PyUFuncObject *ufunc, PyObject *args)
int nop;
NpyIter *iter_buffer;
- NpyIter_IterNextFunc *iternext;
npy_uint32 op_flags[NPY_MAXARGS];
int buffersize;
int errormask = 0;
PyObject *errobj = NULL;
- char *dataptr[3];
- char **buffer_dataptr;
if (ufunc->nin > 2) {
PyErr_SetString(PyExc_ValueError,
@@ -5071,6 +5068,10 @@ ufunc_at(PyUFuncObject *ufunc, PyObject *args)
i = iter->size;
while (i > 0)
{
+ NpyIter_IterNextFunc *iternext;
+ char *dataptr[3];
+ char **buffer_dataptr;
+
/*
* Set up data pointers for either one or two input operands.
* The output data pointer points to the first operand data.