IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 8, 2008, 12:50:52 PM (19 years ago)
Author:
eugene
Message:

replaced sort functions drived from press with sort macros derived from gsl

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/photdbc/src/liststats.c

    r2494 r16040  
    3232  if (N < 2) return (FALSE);
    3333
    34   sortB (value, dvalue, N);
     34  dsortpair (value, dvalue, N);
    3535  stats[0].median = value[(int)(0.5*N)];
    3636  stats[0].min    = value[0];
     
    6868      chi[i] = (value[i] - stats[0].median) / dvalue[i];
    6969    }
    70     sortD (chi, value, dvalue, N);
     70    dsortthree (chi, value, dvalue, N);
    7171    free (chi);
    7272  }
Note: See TracChangeset for help on using the changeset viewer.