INPUT PROGRAM: Avoid infinite loop for trivially empty input program.
[pspp] / src / language / stats / t-test-indep.c
index 876b9857d5bbea9efa19ccc6137feea7c205b043..c80505493964775c45e9efc66d9db25899ee679f 100644 (file)
@@ -82,7 +82,7 @@ indep_run (struct tt *tt, const struct variable *gvar,
   struct ccase *c;
   struct casereader *r;
 
-  struct pair_stats *ps = xcalloc (sizeof (*ps), tt->n_vars);
+  struct pair_stats *ps = xcalloc (tt->n_vars, sizeof *ps);
 
   int v;
 
@@ -215,8 +215,7 @@ indep_summary (const struct tt *tt, struct indep_samples *is, const struct pair_
 
   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);