diff options
author | David Cournapeau <cournape@gmail.com> | 2009-03-12 14:20:59 +0000 |
---|---|---|
committer | David Cournapeau <cournape@gmail.com> | 2009-03-12 14:20:59 +0000 |
commit | 016763c26f6f55d6a37ed508ab773b53e709a49f (patch) | |
tree | d7af8db5f61c7a24e720ac53e1f59825e043cbb1 /numpy/core/src/arrayobject.c | |
parent | 3042a38b466f2a79a165ecbe1b9c87124ae3e93a (diff) | |
download | numpy-016763c26f6f55d6a37ed508ab773b53e709a49f.tar.gz |
Fix wrong formatting: Py_ssize_t vs npy_intp.
Diffstat (limited to 'numpy/core/src/arrayobject.c')
-rw-r--r-- | numpy/core/src/arrayobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/src/arrayobject.c b/numpy/core/src/arrayobject.c index ff04485d6..954441e04 100644 --- a/numpy/core/src/arrayobject.c +++ b/numpy/core/src/arrayobject.c @@ -12908,7 +12908,7 @@ descr_repeat(PyObject *self, Py_ssize_t length) PyArray_Descr *new; if (length < 0) { return PyErr_Format(PyExc_ValueError, - "Array length must be >= 0, not %"INTP_FMT, + "Array length must be >= 0, not %"NPY_SSIZE_T_PYFMT, length); } tup = Py_BuildValue("O" NPY_SSIZE_T_PYFMT, self, length); |