diff options
author | Travis Oliphant <oliphant@enthought.com> | 2006-07-03 22:32:32 +0000 |
---|---|---|
committer | Travis Oliphant <oliphant@enthought.com> | 2006-07-03 22:32:32 +0000 |
commit | 17d8921d6d37745e01601fc19497ae2b4029b10c (patch) | |
tree | b57d344f9d41b391778c9cf118fd9e7421a79950 /numpy/core/src/ufuncobject.c | |
parent | fb9e2b032c62fa254bb1996e8c4e50488ab13999 (diff) | |
download | numpy-17d8921d6d37745e01601fc19497ae2b4029b10c.tar.gz |
Check for error and asthetic spacing change.
Diffstat (limited to 'numpy/core/src/ufuncobject.c')
-rw-r--r-- | numpy/core/src/ufuncobject.c | 3 |
1 files changed, 2 insertions, 1 deletions
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]); |