summaryrefslogtreecommitdiff
path: root/numpy/lib/src/_compiled_base.c
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2008-03-19 06:17:50 +0000
committerCharles Harris <charlesr.harris@gmail.com>2008-03-19 06:17:50 +0000
commit98072488e6893f1ef8fdc32d994f08602542b5b3 (patch)
tree4471aa71b0744ce3f922538adf1ba18e2d78a210 /numpy/lib/src/_compiled_base.c
parent8ae9e39197f0c158a0b3bb0b2de09c4bafd26e4e (diff)
downloadnumpy-98072488e6893f1ef8fdc32d994f08602542b5b3.tar.gz
And add bincount to error message.
Diffstat (limited to 'numpy/lib/src/_compiled_base.c')
-rw-r--r--numpy/lib/src/_compiled_base.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/lib/src/_compiled_base.c b/numpy/lib/src/_compiled_base.c
index fe2d7c1c9..c72a04d8d 100644
--- a/numpy/lib/src/_compiled_base.c
+++ b/numpy/lib/src/_compiled_base.c
@@ -111,7 +111,7 @@ arr_bincount(PyObject *self, PyObject *args, PyObject *kwds)
mxi = mxx (numbers, len) ;
mni = mnx (numbers, len) ;
Py_Assert(numbers[mni] >= 0,
- "The first argument of bincount must be non-negative");
+ "bincount: first argument of bincount must be non-negative");
ans_size = numbers [mxi] + 1 ;
type = PyArray_DescrFromType(PyArray_INTP);
if (weight == Py_None) {