/[pspp]/pspp/src/frequencies.q
ViewVC logotype

Diff of /pspp/src/frequencies.q

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

revision 1.38 by blp, Sun Jul 31 21:42:46 2005 UTC revision 1.39 by blp, Sun Aug 7 04:39:28 2005 UTC
# Line 697  not_missing (const void *f_, void *v_) Line 697  not_missing (const void *f_, void *v_)
697    const struct freq *f = f_;    const struct freq *f = f_;
698    struct variable *v = v_;    struct variable *v = v_;
699    
700    return !is_missing (&f->v, v);    return !mv_is_value_missing (&v->miss, &f->v);
701  }  }
702    
703  /* Summarizes the frequency table data for variable V. */  /* Summarizes the frequency table data for variable V. */
# Line 1564  freq_tab_to_hist(const struct freq_tab * Line 1564  freq_tab_to_hist(const struct freq_tab *
1564    /* Find out the extremes of the x value */    /* Find out the extremes of the x value */
1565    for ( frq = hsh_first(fh, &hi); frq != 0; frq = hsh_next(fh, &hi) )    for ( frq = hsh_first(fh, &hi); frq != 0; frq = hsh_next(fh, &hi) )
1566      {      {
1567        if ( is_missing(&frq->v, var))        if ( mv_is_value_missing(&var->miss, &frq->v))
1568          continue;          continue;
1569    
1570        if ( frq->v.f < x_min ) x_min = frq->v.f ;        if ( frq->v.f < x_min ) x_min = frq->v.f ;

Legend:
Removed from v.1.38  
changed lines
  Added in v.1.39

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