Changeset 17675 for trunk/psastro/src/psastroAnalysis.c
- Timestamp:
- May 14, 2008, 9:06:26 AM (18 years ago)
- File:
-
- 1 edited
-
trunk/psastro/src/psastroAnalysis.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psastro/src/psastroAnalysis.c
r16251 r17675 38 38 return false; 39 39 } 40 if (refs->n == 0) { 41 psError(PSASTRO_ERR_REFSTARS, true, "no reference stars found"); 42 psFree(refs); 43 return NULL; 44 } 40 45 41 46 if (!psastroChooseRefstars (config, refs)) { 42 47 psError (PSASTRO_ERR_UNKNOWN, false, "failed to select reference data for chips\n"); 48 psFree(refs); 43 49 return false; 44 50 } … … 59 65 60 66 if (chipastro) { 61 if (!psastroChipAstrom (config)) {67 if (!psastroChipAstrom (config)) { 62 68 psError (PSASTRO_ERR_UNKNOWN, false, "failed to perform single chip astrometry\n"); 69 psFree(refs); 63 70 return false; 64 71 } … … 67 74 if (!psastroMosaicAstrom (config)) { 68 75 psError (PSASTRO_ERR_UNKNOWN, false, "failed to perform mosaic camera astrometry\n"); 76 psFree(refs); 69 77 return false; 70 78 }
Note:
See TracChangeset
for help on using the changeset viewer.
