Changeset 29181
- Timestamp:
- Sep 21, 2010, 1:44:37 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/dvomerge/src/merge_catalogs_old.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/dvomerge/src/merge_catalogs_old.c
r28855 r29181 317 317 objID ++; 318 318 319 for (j = 0; j < NsecfiltOut; j++) { 320 int outputIndex = (Nave * NsecfiltOut) + j; 321 output[0].secfilt[outputIndex].M = NAN; 322 output[0].secfilt[outputIndex].dM = NAN; 323 output[0].secfilt[outputIndex].Xm = NAN_S_SHORT; 324 output[0].secfilt[outputIndex].M_20 = NAN_S_SHORT; 325 output[0].secfilt[outputIndex].M_80 = NAN_S_SHORT; 326 output[0].secfilt[outputIndex].Ncode = 0; 327 output[0].secfilt[outputIndex].Nused = 0; 328 } 329 319 330 for (j = 0; j < NsecfiltIn; j++) { 320 331 int outputIndex; … … 333 344 output[0].secfilt[outputIndex].Ncode = input[0].secfilt[N*NsecfiltIn+j].Ncode; 334 345 output[0].secfilt[outputIndex].Nused = input[0].secfilt[N*NsecfiltIn+j].Nused; 335 } else {336 output[0].secfilt[outputIndex].M = NAN;337 output[0].secfilt[outputIndex].dM = NAN;338 output[0].secfilt[outputIndex].Xm = NAN_S_SHORT;339 output[0].secfilt[outputIndex].M_20 = NAN_S_SHORT;340 output[0].secfilt[outputIndex].M_80 = NAN_S_SHORT;341 output[0].secfilt[outputIndex].Ncode = 0;342 output[0].secfilt[outputIndex].Nused = 0;343 346 } 344 347 }
Note:
See TracChangeset
for help on using the changeset viewer.
