diff options
author | Travis Oliphant <oliphant@enthought.com> | 2006-10-23 22:03:14 +0000 |
---|---|---|
committer | Travis Oliphant <oliphant@enthought.com> | 2006-10-23 22:03:14 +0000 |
commit | 440a2627ac7d15de4b765279ce7546e66ddfa780 (patch) | |
tree | 1517c4f08f6ba2a0d12ad0dfd44d7140a0ff4c18 /numpy/core/src/arrayobject.c | |
parent | ce92c890b685c9a3c2d75f2265763f2226fd884b (diff) | |
download | numpy-440a2627ac7d15de4b765279ce7546e66ddfa780.tar.gz |
Add ability to sort arrays with fields defined more intelligently.
Diffstat (limited to 'numpy/core/src/arrayobject.c')
-rw-r--r-- | numpy/core/src/arrayobject.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/numpy/core/src/arrayobject.c b/numpy/core/src/arrayobject.c index 45983e84d..2aea422ae 100644 --- a/numpy/core/src/arrayobject.c +++ b/numpy/core/src/arrayobject.c @@ -5881,7 +5881,8 @@ array_shape_set(PyArrayObject *self, PyObject *val) if (PyArray_DATA(ret) != PyArray_DATA(self)) { Py_DECREF(ret); PyErr_SetString(PyExc_AttributeError, - "incompatible shape for a non-contiguous array"); + "incompatible shape for a non-contiguous "\ + "array"); return -1; } |