projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added the /BARCHART option to CROSSTABS
[pspp]
/
src
/
language
/
stats
/
chisquare.c
diff --git
a/src/language/stats/chisquare.c
b/src/language/stats/chisquare.c
index 617bddba8f21ced7a5d25bda4d545065c5f8b7dd..e2ed8fef64808c003dc8bdf6073b1eaa11f2eb80 100644
(file)
--- a/
src/language/stats/chisquare.c
+++ b/
src/language/stats/chisquare.c
@@
-331,7
+331,7
@@
chisquare_execute (const struct dataset *ds,
{
struct string str;
double exp;
{
struct string str;
double exp;
- const union value *observed_value = &ff[i]->value;
+ const union value *observed_value = &ff[i]->value
s[0]
;
ds_init_empty (&str);
var_append_value_name (var, observed_value, &str);
ds_init_empty (&str);
var_append_value_name (var, observed_value, &str);
@@
-407,7
+407,7
@@
chisquare_execute (const struct dataset *ds,
struct string str;
double exp;
struct string str;
double exp;
- const union value *observed_value = &ff[i]->value;
+ const union value *observed_value = &ff[i]->value
s[0]
;
ds_init_empty (&str);
var_append_value_name (ost->vars[v], observed_value, &str);
ds_init_empty (&str);
var_append_value_name (ost->vars[v], observed_value, &str);