X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flanguage%2Fstats%2Foneway.q;h=bdf1ec90a22c3a41d812562526dce4145dfe8c6f;hb=04fb909bd65eee66428d131ff34a6e1fde42e243;hp=a400c1da6f0f08b54e23cbe98d47973be275e2e2;hpb=a4ae68f966bc574326d429119878e733069ced14;p=pspp diff --git a/src/language/stats/oneway.q b/src/language/stats/oneway.q index a400c1da6f..bdf1ec90a2 100644 --- a/src/language/stats/oneway.q +++ b/src/language/stats/oneway.q @@ -57,17 +57,17 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA /* (specification) "ONEWAY" (oneway_): *^variables=custom; - +missing=miss:!analysis/listwise, - incl:include/!exclude; - contrast= double list; - statistics[st_]=descriptives,homogeneity. + missing=miss:!analysis/listwise, + incl:include/!exclude; + +contrast= double list; + +statistics[st_]=descriptives,homogeneity. */ /* (declarations) */ /* (functions) */ -static int bad_weight_warn = 1; +static bool bad_weight_warn = true; static struct cmd_oneway cmd; @@ -121,7 +121,7 @@ cmd_oneway(void) int i; bool ok; - if ( !parse_oneway(&cmd) ) + if ( !parse_oneway(&cmd, NULL) ) return CMD_FAILURE; /* If /MISSING=INCLUDE is set, then user missing values are ignored */ @@ -223,7 +223,7 @@ output_oneway(void) /* Parser for the variables sub command */ static int -oneway_custom_variables(struct cmd_oneway *cmd UNUSED) +oneway_custom_variables(struct cmd_oneway *cmd UNUSED, void *aux UNUSED) { lex_match('='); @@ -917,7 +917,7 @@ run_oneway(const struct ccase *first, const struct casefile *cf, void *cmd_) size_t i; const double weight = - dict_get_case_weight(default_dict,&c,&bad_weight_warn); + dict_get_case_weight (default_dict, &c, &bad_weight_warn); const union value *indep_val = case_data (&c, indep_var->fv);