[Matrix-SIG] [PATCH] fix typo in error message

Charles G Waldman cgw@pgt.com
Thu, 10 Sep 1998 13:59:26 -0400 (EDT)


I was taken aback to see a misspelled error message come out of NumPy.
It looks kind of unprofessional... unless "deap" is a technical term
I've never heard of...

===================================================================
RCS file: arrayobject.c,v
retrieving revision 1.1
diff -u -r1.1 arrayobject.c
--- arrayobject.c       1998/09/10 17:56:47     1.1
+++ arrayobject.c       1998/09/10 17:56:55
@@ -1724,7 +1724,7 @@
        if (max_depth != 0 && ((PyArrayObject *)r)->nd > max_depth) {
                Py_DECREF(r);
                PyErr_SetString(PyExc_ValueError, 
-                       "Object too deap for desired array");
+                       "Object too deep for desired array");
                return NULL;
        }
        return r;