}
else if (lex_match_id (lexer, "CONTRAST"))
{
- struct contrasts_node *cl = xzalloc (sizeof *cl);
+ struct contrasts_node *cl = XZALLOC (struct contrasts_node);
struct ll_list *coefficient_list = &cl->coefficient_list;
lex_match (lexer, T_EQUALS);
struct oneway_workspace ws;
ws.actual_number_of_groups = 0;
- ws.vws = xzalloc (cmd->n_vars * sizeof (*ws.vws));
- ws.dd_total = xmalloc (sizeof (struct descriptive_data) * cmd->n_vars);
+ ws.vws = xcalloc (cmd->n_vars, sizeof (*ws.vws));
+ ws.dd_total = XCALLOC (cmd->n_vars, struct descriptive_data*);
for (v = 0 ; v < cmd->n_vars; ++v)
ws.dd_total[v] = dd_create (cmd->vars[v]);
if (MISS_ANALYSIS == cmd->missing_type)
{
- if (var_is_value_missing (v, val, cmd->exclude))
+ if (var_is_value_missing (v, val) & cmd->exclude)
continue;
}
if (MISS_ANALYSIS == cmd->missing_type)
{
- if (var_is_value_missing (v, val, cmd->exclude))
+ if (var_is_value_missing (v, val) & cmd->exclude)
continue;
}
if (MISS_ANALYSIS == cmd->missing_type)
{
- if (var_is_value_missing (v, val, cmd->exclude))
+ if (var_is_value_missing (v, val) & cmd->exclude)
continue;
}