Changeset 11175
- Timestamp:
- Jan 18, 2007, 6:55:08 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/psphot/src/psphotSortBySN.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot/src/psphotSortBySN.c
r9270 r11175 7 7 pmSource *B = *(pmSource **)b; 8 8 9 psF32 fA = (A-> moments == NULL) ? 0 : A->moments->SN;10 psF32 fB = (B-> moments == NULL) ? 0 : B->moments->SN;9 psF32 fA = (A->peak == NULL) ? 0 : A->peak->SN; 10 psF32 fB = (B->peak == NULL) ? 0 : B->peak->SN; 11 11 if (isnan (fA)) fA = 0; 12 12 if (isnan (fB)) fB = 0; … … 24 24 pmSource *B = *(pmSource **)b; 25 25 26 psF32 fA = (A-> moments == NULL) ? 0 : A->moments->y;27 psF32 fB = (B-> moments == NULL) ? 0 : B->moments->y;26 psF32 fA = (A->peak == NULL) ? 0 : A->peak->y; 27 psF32 fB = (B->peak == NULL) ? 0 : B->peak->y; 28 28 29 29 psF32 diff = fA - fB;
Note:
See TracChangeset
for help on using the changeset viewer.
