diff --git a/src_c/_chisq.c b/src_c/_chisq.c index ce0be85..6d05706 100644 --- a/src_c/_chisq.c +++ b/src_c/_chisq.c @@ -9,6 +9,7 @@ #include "ind.h" #include "stats.h" +#inclue "matrix.h" PyDoc_STRVAR(residuals__doc__, @@ -128,10 +129,17 @@ static PyObject *chisq(PyObject *self, PyObject *args){ dsize = (int)PyArray_DIM(model, 0); /* Calculate model chi-squared: */ - for(i=0; i