break;
for (size_t m = n_common; m + 1 < ft->vars.n; m++)
- groups[m] = pivot_category_create_group__ (
- m > 0 ? groups[m - 1] : d->root,
- pivot_value_new_var_value (ft->vars.vars[m], &f->values[m]));
+ {
+ struct pivot_category *parent = m > 0 ? groups[m - 1] : d->root;
+ if (true)
+ parent = pivot_category_create_group__ (
+ parent, pivot_value_new_variable (ft->vars.vars[m]));
+ groups[m] = pivot_category_create_group__ (
+ parent,
+ pivot_value_new_var_value (ft->vars.vars[m], &f->values[m]));
+ }
int leaf = pivot_category_create_leaf (
ft->vars.n > 1 ? groups[ft->vars.n - 2] : d->root,