#include "alloc.h"
#include "case.h"
#include "casefile.h"
+#include "dictionary.h"
#include "do-ifP.h"
#include "error.h"
-#include "expr.h"
+#include "expressions/public.h"
#include "misc.h"
-#include "random.h"
#include "settings.h"
#include "som.h"
#include "str.h"
/* PROCESS IF. */
if (process_if_expr != NULL
- && expr_evaluate (process_if_expr, c, case_idx, NULL) != 1.0)
+ && expr_evaluate_num (process_if_expr, c, case_idx) != 1.0)
return 1;
return 0;
struct ccase *
lagged_case (int n_before)
{
- assert (n_before <= n_lag);
+ assert (n_before >= 1 && n_before <= n_lag);
if (n_before <= lag_count)
{
int index = lag_head - n_before;
free (t_trns[i]);
}
n_trns = f_trns = 0;
- if (m_trns > 32)
- {
- free (t_trns);
- t_trns=NULL;
- m_trns = 0;
- }
+ free (t_trns);
+ t_trns=NULL;
+ m_trns = 0;
}
\f
/* Creates a case source with class CLASS and auxiliary data AUX