projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2031b99
)
refacotring 2?
author
Ben Pfaff
<blp@cs.stanford.edu>
Sun, 14 Aug 2022 06:51:53 +0000
(23:51 -0700)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Sun, 14 Aug 2022 06:51:53 +0000
(23:51 -0700)
src/language/stats/ctables.c
patch
|
blob
|
history
diff --git
a/src/language/stats/ctables.c
b/src/language/stats/ctables.c
index 2b8636581d0bb07eb044b4206b3ad3cdb3bf3838..01c16cc1e98a14f3315fbb433b8e726be61c1c2b 100644
(file)
--- a/
src/language/stats/ctables.c
+++ b/
src/language/stats/ctables.c
@@
-4708,9
+4708,9
@@
ctables_prepare_table (struct ctables_table *t)
case CTAT_SUBTABLE:
#define L PIVOT_AXIS_LAYER
n_drop = (t->clabels_from_axis == L ? a != L
- : t->clabels_to_axis
!= L ? (a == t->clabels_from_axis ? 2 : 0
)
- : a == t->clabels_from_axis ?
-1
- :
a != L
);
+ : t->clabels_to_axis
== L ? (a == t->clabels_from_axis ? -1 : a != L
)
+ : a == t->clabels_from_axis ?
2
+ :
0
);
#undef L
break;