33 |
#include "dictionary.h" |
#include "dictionary.h" |
34 |
#include "do-ifP.h" |
#include "do-ifP.h" |
35 |
#include "error.h" |
#include "error.h" |
36 |
#include "expr.h" |
#include "expressions/public.h" |
37 |
#include "misc.h" |
#include "misc.h" |
38 |
#include "settings.h" |
#include "settings.h" |
39 |
#include "som.h" |
#include "som.h" |
339 |
|
|
340 |
/* PROCESS IF. */ |
/* PROCESS IF. */ |
341 |
if (process_if_expr != NULL |
if (process_if_expr != NULL |
342 |
&& expr_evaluate (process_if_expr, c, case_idx, NULL) != 1.0) |
&& expr_evaluate_num (process_if_expr, c, case_idx) != 1.0) |
343 |
return 1; |
return 1; |
344 |
|
|
345 |
return 0; |
return 0; |
622 |
struct ccase * |
struct ccase * |
623 |
lagged_case (int n_before) |
lagged_case (int n_before) |
624 |
{ |
{ |
625 |
assert (n_before <= n_lag); |
assert (n_before >= 1 && n_before <= n_lag); |
626 |
if (n_before <= lag_count) |
if (n_before <= lag_count) |
627 |
{ |
{ |
628 |
int index = lag_head - n_before; |
int index = lag_head - n_before; |