Changeset 27724
- Timestamp:
- Apr 21, 2010, 4:06:21 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/dvomerge/src/merge_catalogs_old.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/dvomerge/src/merge_catalogs_old.c
r27583 r27724 10 10 int merge_catalogs_old (SkyRegion *region, Catalog *output, Catalog *input, double RADIUS) { 11 11 12 off_t i, j, n, N,Nin, offset, J, Jmin, status, Nstars;12 off_t i, j, Nin, offset, J, Jmin, status, Nstars; 13 13 double RADIUS2, Rmin, Rin, Din; 14 14 double *X1, *Y1, *X2, *Y2; … … 152 152 /*** a match is found, add to average, measure ***/ 153 153 Nmatch ++; 154 n = N2[Jmin];155 N = N1[i];154 off_t n = N2[Jmin]; 155 off_t N = N1[i]; 156 156 157 157 /* make sure there is space for next Nmeasure entries */ … … 223 223 /* these new entries are all written out in UPDATE mode */ 224 224 for (i = 0; i < Nstars; i++) { 225 off_t N = N1[i]; 226 225 227 /* make sure there is space for next entry */ 226 228 if (Nmeas + input[0].average[N].Nmeasure >= NMEAS) { … … 235 237 } 236 238 237 N = N1[i];238 239 if (input[0].found[N] >= 0) continue; 239 240 if (!IN_REGION (input[0].average[N].R, input[0].average[N].D)) continue;
Note:
See TracChangeset
for help on using the changeset viewer.
