Changeset 27435 for trunk/Ohana/src/opihi/dvo/subpix.c
- Timestamp:
- Mar 24, 2010, 11:22:25 AM (16 years ago)
- Location:
- trunk/Ohana
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/opihi/dvo/subpix.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana
-
Property svn:mergeinfo
set to
/branches/eam_branches/20091201/Ohana merged eligible /branches/eam_branches/largefiles.20100314/Ohana merged eligible
-
Property svn:mergeinfo
set to
-
trunk/Ohana/src/opihi/dvo/subpix.c
r19823 r27435 3 3 int subpix (int argc, char **argv) { 4 4 5 int i, j, I, Nlo, Nhi, Nentry, Nstars, Nimage, Nmeasure;6 int *index, *entry;7 int Nmin, Nsub, NSUB, status;8 int TimeFormat;5 off_t Nlo, Nhi, *entry, Nentry; 6 off_t j, i, I, *index, Nstars, Nimage, Nmeasure; 7 off_t Nmin, Nsub, NSUB; 8 int status, TimeFormat; 9 9 time_t Timage, TimeReference; 10 10 double X, Y, Mabs, t; … … 54 54 ALLOCATE (RA, double, Nstars); 55 55 ALLOCATE (DEC, double, Nstars); 56 ALLOCATE (index, int, Nstars);56 ALLOCATE (index, off_t, Nstars); 57 57 for (i = 0; i < Nstars; i++) { 58 58 RA[i] = catalog.average[i].R; … … 65 65 Nlo = bracket (DEC, Nstars, FALSE, Dec - Radius); 66 66 Nhi = bracket (DEC, Nstars, TRUE, Dec + Radius); 67 ALLOCATE (entry, int, MAX (Nhi - Nlo, 1));67 ALLOCATE (entry, off_t, MAX (Nhi - Nlo, 1)); 68 68 Nentry = 0; 69 69 … … 111 111 Nsub = 0; 112 112 NSUB = 100; 113 ALLOCATE (index, int, NSUB);113 ALLOCATE (index, off_t, NSUB); 114 114 115 115 /* load all images, extract those touching Ra, Dec */ … … 125 125 if (Nsub == NSUB - 1) { 126 126 NSUB += 100; 127 REALLOCATE (index, int, NSUB);127 REALLOCATE (index, off_t, NSUB); 128 128 } 129 129 }
Note:
See TracChangeset
for help on using the changeset viewer.
