projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
psppire-output-view: Consistently apply "transparent" and "systemcolors".
[pspp]
/
src
/
language
/
stats
/
descriptives.c
diff --git
a/src/language/stats/descriptives.c
b/src/language/stats/descriptives.c
index e2cb058aa9048c40511b963ec1724e55121fd0ef..0cee83e06b79b018feeeb4834e46af87fabc1f89 100644
(file)
--- a/
src/language/stats/descriptives.c
+++ b/
src/language/stats/descriptives.c
@@
-272,7
+272,7
@@
cmd_descriptives (struct lexer *lexer, struct dataset *ds)
else
{
enum dsc_statistic s = match_statistic (lexer);
else
{
enum dsc_statistic s = match_statistic (lexer);
- if (s == DSC_NONE
)
+ if (s == DSC_NONE)
{
lex_error (lexer, NULL);
goto error;
{
lex_error (lexer, NULL);
goto error;
@@
-292,7
+292,7
@@
cmd_descriptives (struct lexer *lexer, struct dataset *ds)
else
{
dsc->sort_by_stat = match_statistic (lexer);
else
{
dsc->sort_by_stat = match_statistic (lexer);
- if (dsc->sort_by_stat == DSC_NONE
)
+ if (dsc->sort_by_stat == DSC_NONE)
dsc->sort_by_stat = DSC_MEAN;
}
if (lex_match (lexer, T_LPAREN))
dsc->sort_by_stat = DSC_MEAN;
}
if (lex_match (lexer, T_LPAREN))
@@
-727,7
+727,7
@@
setup_z_trns (struct dsc_proc *dsc, struct dataset *ds)
t->z_score_cnt = cnt;
t->missing_type = dsc->missing_type;
t->exclude = dsc->exclude;
t->z_score_cnt = cnt;
t->missing_type = dsc->missing_type;
t->exclude = dsc->exclude;
- if (
t->missing_type == DSC_LISTWISE
)
+ if (
t->missing_type == DSC_LISTWISE
)
{
t->var_cnt = dsc->var_cnt;
t->vars = xnmalloc (t->var_cnt, sizeof *t->vars);
{
t->var_cnt = dsc->var_cnt;
t->vars = xnmalloc (t->var_cnt, sizeof *t->vars);
@@
-1004,7
+1004,7
@@
display (struct dsc_proc *dsc)
table, PIVOT_AXIS_ROW, N_("Variable"));
for (size_t i = 0; i < dsc->var_cnt; i++)
{
table, PIVOT_AXIS_ROW, N_("Variable"));
for (size_t i = 0; i < dsc->var_cnt; i++)
{
- struct dsc_var *dv = &dsc->vars[i];
+
const
struct dsc_var *dv = &dsc->vars[i];
int row = pivot_category_create_leaf (variables->root,
pivot_value_new_variable (dv->v));
int row = pivot_category_create_leaf (variables->root,
pivot_value_new_variable (dv->v));