projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3036141
)
refactor
author
Ben Pfaff
<blp@cs.stanford.edu>
Sun, 14 Aug 2022 06:08:33 +0000
(23:08 -0700)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Sun, 14 Aug 2022 06:08:33 +0000
(23:08 -0700)
src/language/stats/ctables.c
patch
|
blob
|
history
diff --git
a/src/language/stats/ctables.c
b/src/language/stats/ctables.c
index 6337366acbcd7efe3521e4fb7b5a2f37451879ed..2490efde10e9803917180b2f4981061161112c6d 100644
(file)
--- a/
src/language/stats/ctables.c
+++ b/
src/language/stats/ctables.c
@@
-4712,10
+4712,10
@@
ctables_prepare_table (struct ctables_table *t)
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: