Changeset 27558
- Timestamp:
- Apr 1, 2010, 1:38:58 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/psastro/src/psastroMosaicAstrom.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psastro/src/psastroMosaicAstrom.c
r26259 r27558 1 1 /** @file psastroMosaicAstrom.c 2 2 * 3 * @brief 3 * @brief 4 4 * 5 5 * @ingroup libpsastro … … 43 43 if (!status) psAbort ("missing config value"); 44 44 45 // this should be in a loop with nIter = 45 // this should be in a loop with nIter = 46 46 for (int iter = 0; iter < nIter; iter++) { 47 if (!psastroMosaicFit (fpa, recipe, outroot, iter)) return false;47 if (!psastroMosaicFit (fpa, recipe, outroot, iter)) return false; 48 48 } 49 49 … … 60 60 61 61 if (psTraceGetLevel("psastro.dump") > 0) { 62 // the last filename (see filenames in psastroMosaicFit)63 char filename[256];64 snprintf (filename, 256, "%s.%d.dat", outroot, 2*nIter + 2);62 // the last filename (see filenames in psastroMosaicFit) 63 char filename[256]; 64 snprintf (filename, 256, "%s.%d.dat", outroot, 2*nIter + 2); 65 65 psastroDumpMatches (fpa, filename); 66 66 } … … 75 75 } 76 76 if (!pmAstromWriteBilevelMosaic (updates, fpa, NONLIN_TOL)) { 77 psAbort ("failed to save header terms"); 77 psError(psErrorCodeLast(), false, "Failed to save header terms"); 78 return false; 78 79 } 79 80
Note:
See TracChangeset
for help on using the changeset viewer.
