Changeset 31451 for trunk/psModules/src/objects/pmSourceIO_CMP.c
- Timestamp:
- May 5, 2011, 11:02:53 AM (15 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/objects/pmSourceIO_CMP.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/objects/pmSourceIO_CMP.c
r29004 r31451 137 137 axes = pmPSF_ModelToAxes (PAR, 20.0); 138 138 139 float errMag = isfinite(source->errMag) ? source->errMag: 999;139 float psfMagErr = isfinite(source->psfMagErr) ? source->psfMagErr : 999; 140 140 141 141 psLineInit (line); … … 143 143 psLineAdd (line, "%6.1f ", PAR[PM_PAR_YPOS]); 144 144 psLineAdd (line, "%6.3f ", PS_MIN (99.0, source->psfMag + ZERO_POINT)); 145 psLineAdd (line, "%03d ", PS_MIN (999, (int) errMag));145 psLineAdd (line, "%03d ", PS_MIN (999, (int)psfMagErr)); 146 146 psLineAdd (line, "%2d ", type); 147 147 psLineAdd (line, "%3.1f ", lsky); … … 280 280 source->psfMag = atof (array->data[2]); 281 281 source->extMag = atof (array->data[6]); 282 source-> errMag= atof (array->data[3]) / 1000.0;282 source->psfMagErr = atof (array->data[3]) / 1000.0; 283 283 source->apMag = atof (array->data[7]); 284 284 axes.major = atof (array->data[8]);
Note:
See TracChangeset
for help on using the changeset viewer.
