projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
INPUT PROGRAM: Avoid infinite loop for trivially empty input program.
[pspp]
/
src
/
language
/
stats
/
t-test-indep.c
diff --git
a/src/language/stats/t-test-indep.c
b/src/language/stats/t-test-indep.c
index 876b9857d5bbea9efa19ccc6137feea7c205b043..c80505493964775c45e9efc66d9db25899ee679f 100644
(file)
--- a/
src/language/stats/t-test-indep.c
+++ b/
src/language/stats/t-test-indep.c
@@
-82,7
+82,7
@@
indep_run (struct tt *tt, const struct variable *gvar,
struct ccase *c;
struct casereader *r;
struct ccase *c;
struct casereader *r;
- struct pair_stats *ps = xcalloc (
sizeof (*ps), tt->n_var
s);
+ struct pair_stats *ps = xcalloc (
tt->n_vars, sizeof *p
s);
int v;
int v;
@@
-215,8
+215,7
@@
indep_summary (const struct tt *tt, struct indep_samples *is, const struct pair_
if (is->cut)
{
if (is->cut)
{
- /* ds_put_cstr (&vallab0, "≥"); */
- ds_put_cstr (&vallab0, ">=");
+ ds_put_cstr (&vallab0, "≥");
ds_put_cstr (&vallab1, "<");
var_append_value_name (is->gvar, is->gval0, &vallab0);
ds_put_cstr (&vallab1, "<");
var_append_value_name (is->gvar, is->gval0, &vallab0);