From 17d8921d6d37745e01601fc19497ae2b4029b10c Mon Sep 17 00:00:00 2001 From: Travis Oliphant Date: Mon, 3 Jul 2006 22:32:32 +0000 Subject: Check for error and asthetic spacing change. --- numpy/core/src/ufuncobject.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'numpy/core/src/ufuncobject.c') diff --git a/numpy/core/src/ufuncobject.c b/numpy/core/src/ufuncobject.c index d5e96b0ef..74a24e78b 100644 --- a/numpy/core/src/ufuncobject.c +++ b/numpy/core/src/ufuncobject.c @@ -2490,7 +2490,8 @@ PyUFunc_GenericReduction(PyUFuncObject *self, PyObject *args, } /* Check to see that type (and otype) is not FLEXIBLE */ - if (PyArray_ISFLEXIBLE(mp) || (otype && PyTypeNum_ISFLEXIBLE(otype->type_num))) { + if (PyArray_ISFLEXIBLE(mp) || + (otype && PyTypeNum_ISFLEXIBLE(otype->type_num))) { PyErr_Format(PyExc_TypeError, "cannot perform %s with flexible type", _reduce_type[operation]); -- cgit v1.2.1