#include <gsl/gsl_cdf.h>
#include <math.h>
+#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <language/command.h>
#include <language/dictionary/split-file.h>
#include <language/lexer/lexer.h>
-#include <libpspp/alloc.h>
#include <libpspp/assertion.h>
#include <libpspp/compiler.h>
#include <libpspp/hash.h>
-#include <libpspp/magic.h>
#include <libpspp/message.h>
#include <libpspp/misc.h>
#include <libpspp/str.h>
#include <output/manager.h>
#include <output/table.h>
-#include "size_max.h"
+#include "xalloc.h"
#include "gettext.h"
#define _(msgid) gettext (msgid)
if (gp.criterion == CMP_LE )
{
- strcpy(prefix[0],"< ");
- strcpy(prefix[1],">=");
+ strcpy(prefix[0],">=");
+ strcpy(prefix[1],"<");
indep_value[0] = gp.v.critical_value;
indep_value[1] = gp.v.critical_value;
}
{
if ( count == 0 )
{
- /* less than ( < ) case */
- search_val.f = gp.v.critical_value - 1.0;
+ /* >= case */
+ search_val.f = gp.v.critical_value + 1.0;
}
else
{
- /* >= case */
- search_val.f = gp.v.critical_value + 1.0;
+ /* less than ( < ) case */
+ search_val.f = gp.v.critical_value - 1.0;
}
}
else
}
hsh_insert ( ttpr->group_hash, (void *) gs );
-
}
}
enum mv_class exclude = cmd->miss != TTS_INCLUDE ? MV_ANY : MV_SYSTEM;
if (!casereader_peek (input, 0, &c))
- return;
+ {
+ casereader_destroy (input);
+ return;
+ }
output_split_file_values (ds, &c);
case_destroy (&c);
trbox_populate(&test_results_box,cmd);
trbox_finalize(&test_results_box);
}
+
+ taint_destroy (taint);
}
short which_group(const struct group_statistics *g,
if ( p->criterion == CMP_LE )
{
- /* less-than-or-equal comparision is not meaningfull for
+ /* less-than comparision is not meaningfull for
alpha variables, so we shouldn't ever arrive here */
assert(p->indep_width == 0 ) ;