fix error in node template and quiet warning.

This commit is contained in:
2012-07-03 21:03:39 +00:00
parent 468ef74ed7
commit 81a509fa40
3 changed files with 5 additions and 4 deletions

View File

@@ -1640,7 +1640,7 @@ static PyObject *Matrix_richcmpr(PyObject *a, PyObject *b, int op)
* sequence length */
static int Matrix_len(MatrixObject *self)
{
return (self->num_row);
return self->num_row;
}
/*----------------------------object[]---------------------------
* sequence accessor (get)