@@ -980,10 +980,10 @@ run_interpreter_const(NumExprObject *self, char *output, int *pc_error)
980
980
PyObject *
981
981
NumExpr_run (NumExprObject *self, PyObject *args, PyObject *kwds)
982
982
{
983
- PyArrayObject *operands[NPY_MAXARGS ];
984
- PyArray_Descr *dtypes[NPY_MAXARGS ], **dtypes_tmp;
983
+ PyArrayObject *operands[NE_MAXARGS ];
984
+ PyArray_Descr *dtypes[NE_MAXARGS ], **dtypes_tmp;
985
985
PyObject *tmp, *ret;
986
- npy_uint32 op_flags[NPY_MAXARGS ];
986
+ npy_uint32 op_flags[NE_MAXARGS ];
987
987
NPY_CASTING casting = NPY_SAFE_CASTING;
988
988
NPY_ORDER order = NPY_KEEPORDER;
989
989
unsigned int i, n_inputs;
@@ -997,8 +997,8 @@ NumExpr_run(NumExprObject *self, PyObject *args, PyObject *kwds)
997
997
bool reduction_outer_loop = false , need_output_buffering = false , full_reduction = false ;
998
998
999
999
// To specify axes when doing a reduction
1000
- int op_axes_values[NPY_MAXARGS ][NPY_MAXDIMS],
1001
- op_axes_reduction_values[NPY_MAXARGS ];
1000
+ int op_axes_values[NE_MAXARGS ][NPY_MAXDIMS],
1001
+ op_axes_reduction_values[NE_MAXARGS ];
1002
1002
int *op_axes_ptrs[NPY_MAXDIMS];
1003
1003
int oa_ndim = 0 ;
1004
1004
int **op_axes = NULL ;
0 commit comments