case CTAT_ROW:
case CTAT_COL:
- if (a == atb && t->label_axis[ata] == atb)
- n_drop = 0;
- else if (a == atb && t->label_axis[atb] == ata)
+ if (a == atb)
{
- drop_inner = true;
- n_drop = 0;
- }
- else if (a == atb && t->label_axis[atb] == PIVOT_AXIS_LAYER)
- {
- drop_inner = true;
- n_drop = 0;
- }
- else
- {
- n_drop = a == atb;
- if (a == ata && t->label_axis[ata] == atb)
- n_drop++;
+ if (t->label_axis[ata] == atb)
+ ;
+ else if (t->label_axis[atb] == ata)
+ drop_inner = true;
+ else if (t->label_axis[atb] == PIVOT_AXIS_LAYER)
+ drop_inner = true;
+ else
+ n_drop = 1;
}
+ if (a == ata && t->label_axis[ata] == atb)
+ n_drop++;
break;
case CTAT_LAYER: