projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
125b43a
)
more debug prints
author
Ben Pfaff
<blp@cs.stanford.edu>
Sat, 15 Jan 2022 18:51:55 +0000
(10:51 -0800)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Sun, 13 Mar 2022 23:56:02 +0000
(16:56 -0700)
src/language/stats/ctables.c
patch
|
blob
|
history
diff --git
a/src/language/stats/ctables.c
b/src/language/stats/ctables.c
index 169f8631e78970a6ef272e12fe2d5dfcc11fdf60..08f7a74180a67bab097d1fad9b51d7f9cd76339a 100644
(file)
--- a/
src/language/stats/ctables.c
+++ b/
src/language/stats/ctables.c
@@
-2604,6
+2604,19
@@
ctables_execute (struct dataset *ds, struct ctables *ct)
for (size_t j = 0; j < merged.n; j++)
printf ("%s\n", ctables_summary_function_name (merged.specs[j].function));
for (size_t j = 0; j < merged.n; j++)
printf ("%s\n", ctables_summary_function_name (merged.specs[j].function));
+
+ for (size_t j = 0; j < stack->n; j++)
+ {
+ const struct ctables_nest *nest = &stack->nests[j];
+ for (enum ctables_summary_variant sv = 0; sv < N_CSVS; sv++)
+ {
+ const struct ctables_summary_spec_set *specs = &nest->specs[sv];
+ for (size_t k = 0; k < specs->n; k++)
+ printf ("(%s, %zu) ", ctables_summary_function_name (specs->specs[k].function),
+ specs->specs[k].axis_idx);
+ printf ("\n");
+ }
+ }
}
struct casereader *input = casereader_create_filter_weight (proc_open (ds),
}
struct casereader *input = casereader_create_filter_weight (proc_open (ds),