n_drop = a != PIVOT_AXIS_LAYER;
else if (t->clabels_to_axis != PIVOT_AXIS_LAYER)
n_drop = a == t->clabels_from_axis ? 2 : 0;
- else if (a != PIVOT_AXIS_LAYER && a != t->clabels_from_axis)
- n_drop = 1;
+ else if (a == t->clabels_from_axis)
+ drop_inner = true;
else
- drop_inner = a == t->clabels_from_axis;
+ n_drop = a != PIVOT_AXIS_LAYER;
break;
case CTAT_LAYERROW: