From: Ben Pfaff Date: Fri, 16 Jan 2009 04:39:18 +0000 (-0800) Subject: t-test: Move 'mode' variable from file scope into cmd_t_test(). X-Git-Tag: v0.7.3~107 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1f93f78ae82897f5c3cf0d83206e0982d06e9226;p=pspp-builds.git t-test: Move 'mode' variable from file scope into cmd_t_test(). --- diff --git a/src/language/stats/t-test.q b/src/language/stats/t-test.q index c201ba13..8446f835 100644 --- a/src/language/stats/t-test.q +++ b/src/language/stats/t-test.q @@ -403,7 +403,7 @@ tts_custom_groups (struct lexer *lexer, struct dataset *ds, struct cmd_t_test *c } } - if (!parse_value (lexer, &gp.v.g_value[0], var_get_type (indep_var))) + if (!parse_value (lexer, &gp.v.g_value[0], var_get_width (indep_var))) return 0; lex_match (lexer, ','); @@ -422,7 +422,7 @@ tts_custom_groups (struct lexer *lexer, struct dataset *ds, struct cmd_t_test *c return 1; } - if (!parse_value (lexer, &gp.v.g_value[1], var_get_type (indep_var))) + if (!parse_value (lexer, &gp.v.g_value[1], var_get_width (indep_var))) return 0; n_group_values = 2;