X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fdesign-matrix.c;h=2e9ddf0b73c11a36bce5cc1458f1f73e048b0d1b;hb=f3cf52b51e6d89e94190de22b1fa813e8d3746f7;hp=5d513985a42d8b3eec132391d757ec475bda6d6c;hpb=95a7059c5c07aab50ff820bf695fe8ee144fa025;p=pspp diff --git a/src/design-matrix.c b/src/design-matrix.c index 5d513985a4..2e9ddf0b73 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) {