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

Diff of /pspp/src/oneway.q

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

revision 1.22 by blp, Mon Oct 24 02:51:32 2005 UTC revision 1.23 by blp, Wed Oct 26 05:06:14 2005 UTC
# Line 157  output_oneway(void) Line 157  output_oneway(void)
157    size_t i;    size_t i;
158    short *bad_contrast ;    short *bad_contrast ;
159    
160    bad_contrast = xmalloc ( sizeof (short) * cmd.sbc_contrast );    bad_contrast = xnmalloc (cmd.sbc_contrast, sizeof *bad_contrast);
161    
162    /* Check the sanity of the given contrast values */    /* Check the sanity of the given contrast values */
163    for (i = 0 ; i < cmd.sbc_contrast ; ++i )    for (i = 0 ; i < cmd.sbc_contrast ; ++i )
# Line 949  run_oneway(const struct casefile *cf, vo Line 949  run_oneway(const struct casefile *cf, vo
949    
950            if ( ! gs )            if ( ! gs )
951              {              {
952                gs = (struct group_statistics *)                gs = xmalloc (sizeof *gs);
                 xmalloc (sizeof(struct group_statistics));  
   
953                gs->id = *indep_val;                gs->id = *indep_val;
954                gs->sum=0;                gs->sum=0;
955                gs->n=0;                gs->n=0;

Legend:
Removed from v.1.22  
changed lines
  Added in v.1.23

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