projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
render: Add comment.
[pspp]
/
src
/
language
/
stats
/
means.c
diff --git
a/src/language/stats/means.c
b/src/language/stats/means.c
index 4138f48161625bdf688763a7dfea872c683d2e46..27a2457052243ce71b896cabd7d722570cf08b74 100644
(file)
--- a/
src/language/stats/means.c
+++ b/
src/language/stats/means.c
@@
-537,7
+537,7
@@
populate_table (const struct means *means, const struct mtable *mt,
const struct cell *cell,
struct pivot_table *pt)
{
const struct cell *cell,
struct pivot_table *pt)
{
- size_t *indexes =
xcalloc (pt->n_dimensions, sizeof *indexes
);
+ size_t *indexes =
XCALLOC (pt->n_dimensions, size_t
);
for (int v = 0; v < mt->n_dep_vars; ++v)
{
for (int s = 0; s < means->n_statistics; ++s)
for (int v = 0; v < mt->n_dep_vars; ++v)
{
for (int s = 0; s < means->n_statistics; ++s)
@@
-751,7
+751,7
@@
means_shipout_single (const struct mtable *mt, const struct means *means,
const struct workspace *ws)
{
struct pivot_table *pt = pivot_table_create (N_("Report"));
const struct workspace *ws)
{
struct pivot_table *pt = pivot_table_create (N_("Report"));
- pt->omit_empty = true;
+ pt->
look.
omit_empty = true;
struct pivot_dimension *dim_cells =
pivot_dimension_create (pt, PIVOT_AXIS_COLUMN, N_("Statistics"));
struct pivot_dimension *dim_cells =
pivot_dimension_create (pt, PIVOT_AXIS_COLUMN, N_("Statistics"));
@@
-793,7
+793,7
@@
means_shipout_multivar (const struct mtable *mt, const struct means *means,
}
struct pivot_table *pt = pivot_table_create (ds_cstr (&dss));
}
struct pivot_table *pt = pivot_table_create (ds_cstr (&dss));
- pt->omit_empty = true;
+ pt->
look.
omit_empty = true;
ds_destroy (&dss);
struct pivot_dimension *dim_cells =
ds_destroy (&dss);
struct pivot_dimension *dim_cells =