Changeset 28160
- Timestamp:
- May 28, 2010, 12:27:54 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/psphot/src/psphotStackOptions.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot/src/psphotStackOptions.c
r28013 r28160 40 40 options->psfs = psArrayAlloc(num); 41 41 options->sourceLists = psArrayAlloc(num); // Individual lists of sources for matching 42 options->kernels = psArrayAlloc(num); 43 options->regions = psArrayAlloc(num); 42 options->kernels = psArrayAlloc(num); 43 options->regions = psArrayAlloc(num); 44 44 45 45 options->inputMask = psVectorAlloc(num, PS_TYPE_VECTOR_MASK); // Mask for inputs … … 77 77 switch (options->convolveSource) { 78 78 case PSPHOT_CNV_SRC_AUTO: 79 fileSrc = fileCnv ? fileCnv : fileRaw;80 break;79 fileSrc = fileCnv ? fileCnv : fileRaw; 80 break; 81 81 82 82 case PSPHOT_CNV_SRC_RAW: 83 fileSrc = fileRaw;84 break;83 fileSrc = fileRaw; 84 break; 85 85 86 86 case PSPHOT_CNV_SRC_CNV: 87 fileSrc = fileCnv;88 break;87 fileSrc = fileCnv; 88 break; 89 89 90 90 default: 91 psAbort("impossible case");91 psAbort("impossible case"); 92 92 } 93 93 if (!fileSrc) { 94 psError(PSPHOT_ERR_CONFIG, true, "desired convolution source is missing (cnv : %llx, raw : %llx)", (long long) fileCnv, (long long)fileRaw);94 psError(PSPHOT_ERR_CONFIG, true, "desired convolution source is missing (cnv : %p, raw : %p)", fileCnv, fileRaw); 95 95 } 96 96 97 97 return fileSrc; 98 98 }
Note:
See TracChangeset
for help on using the changeset viewer.
