projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed a crash in REGRESSION when there were no non-missing values.
[pspp-builds.git]
/
src
/
language
/
stats
/
t-test-parser.c
diff --git
a/src/language/stats/t-test-parser.c
b/src/language/stats/t-test-parser.c
index 7c8d8a548a5ea42b7343e5fe8b5b716c744bc37a..efb84b32225de0c728001215067f19ee538576c3 100644
(file)
--- a/
src/language/stats/t-test-parser.c
+++ b/
src/language/stats/t-test-parser.c
@@
-48,18
+48,18
@@
cmd_t_test (struct lexer *lexer, struct dataset *ds)
const struct variable **v2 = NULL;
size_t n_v2;
const struct variable **v2 = NULL;
size_t n_v2;
- size_t n_pairs;
+ size_t n_pairs
= 0
;
vp *pairs = NULL;
/* One sample mode */
vp *pairs = NULL;
/* One sample mode */
- double testval;
+ double testval
= SYSMIS
;
/* Independent samples mode */
const struct variable *gvar;
union value gval0;
union value gval1;
/* Independent samples mode */
const struct variable *gvar;
union value gval0;
union value gval1;
- bool cut;
+ bool cut
= false
;
tt.wv = dict_get_weight (dict);
tt.dict = dict;
tt.wv = dict_get_weight (dict);
tt.dict = dict;