- Timestamp:
- Aug 20, 2009, 12:42:13 PM (17 years ago)
- Location:
- branches/czw_branch/cleanup
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
magic/remove/src/streakscompare.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/czw_branch/cleanup
- Property svn:mergeinfo changed
/trunk merged: 25052-25060,25063-25068,25070-25084,25087,25156
- Property svn:mergeinfo changed
-
branches/czw_branch/cleanup/magic/remove/src/streakscompare.c
r21156 r25158 5 5 int main(int argc, char *argv[]) 6 6 { 7 long i;8 7 bool status; 9 8 … … 35 34 int numErrors = 0; 36 35 for (int component = 0; component < ncomponents; component++) { 37 if (component && !(psFitsMoveExtNum(file1->fits, 1, true) 36 if (component && !(psFitsMoveExtNum(file1->fits, 1, true) 38 37 && psFitsMoveExtNum(file2->fits, 1, true))) { 39 38 streaksExit("failed to advance to next extesion\n", PS_EXIT_DATA_ERROR); … … 45 44 psImage *image2 = file2->image; 46 45 47 // TODO: do more sanity checking. For example check that extname's (if any) match 46 // TODO: do more sanity checking. For example check that extname's (if any) match 48 47 // check for matching image cubes 49 48 if (image1 && image2) { … … 68 67 error = ! isnan(value1) && isnan(value2); 69 68 } 70 69 71 70 if (error) { 72 71 numErrors++;
Note:
See TracChangeset
for help on using the changeset viewer.
