/[pspp]/pspp/src/vfm.c
ViewVC logotype

Diff of /pspp/src/vfm.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.29 by jmd, Mon Jan 24 04:29:53 2005 UTC revision 1.30 by blp, Tue Mar 1 08:16:16 2005 UTC
# Line 33  Line 33 
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"
# Line 339  filter_case (const struct ccase *c, int Line 339  filter_case (const struct ccase *c, int
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;
# Line 622  const struct case_sink_class null_sink_c Line 622  const struct case_sink_class null_sink_c
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;

Legend:
Removed from v.1.29  
changed lines
  Added in v.1.30

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26