Changeset 16040 for trunk/Ohana/src/gophot/src/mediansky.c
- Timestamp:
- Jan 8, 2008, 12:50:52 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/gophot/src/mediansky.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/gophot/src/mediansky.c
r2473 r16040 4 4 static int Nx, Ny; 5 5 static float fx, fy; 6 sort (float *, int);7 6 8 7 int make_mediansky () { … … 59 58 } 60 59 61 sort (temp, n);60 fsort (temp, n); 62 61 value = temp[(int)(0.5*n)]; 63 62 … … 86 85 memcpy (temp, mediansky, Npix*sizeof(float)); 87 86 88 sort (temp, Npix);87 fsort (temp, Npix); 89 88 90 89 *sky = temp[(int)(0.5*Npix)];
Note:
See TracChangeset
for help on using the changeset viewer.
