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/gophot/src/mediansky.c

    r2473 r16040  
    44static int Nx, Ny;
    55static float fx, fy;
    6 sort (float *, int);
    76
    87int make_mediansky () {
     
    5958      }
    6059
    61       sort (temp, n);
     60      fsort (temp, n);
    6261      value = temp[(int)(0.5*n)];
    6362
     
    8685  memcpy (temp, mediansky, Npix*sizeof(float));
    8786
    88   sort (temp, Npix);
     87  fsort (temp, Npix);
    8988
    9089  *sky = temp[(int)(0.5*Npix)];
Note: See TracChangeset for help on using the changeset viewer.