From: Jason Stover Date: Mon, 28 Nov 2005 01:51:58 +0000 (+0000) Subject: Fixed design matrix column-to-variable matching X-Git-Tag: v0.6.0~1131 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9987b8c21548797582808e6cf8c2551876c3e5a1;p=pspp-builds.git Fixed design matrix column-to-variable matching --- diff --git a/src/design-matrix.c b/src/design-matrix.c index 5d513985..2e9ddf0b 100644 --- a/src/design-matrix.c +++ b/src/design-matrix.c @@ -113,8 +113,8 @@ design_matrix_create (int n_variables, (dm->vars + i)->first_column = n_cols; if (v->type == NUMERIC) { - n_cols++; (dm->vars + i)->last_column = n_cols; + n_cols++; } else if (v->type == ALPHA) {