Changeset 34220
- Timestamp:
- Jul 30, 2012, 5:03:34 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/extsrc/gpcsw/gpcsrc/fits/burntool/persistio.c
r26766 r34220 132 132 /* Assess the clustering of all the streaks */ 133 133 for(i=0; i<MAXSIZE; i++) xusage[i] = 0; 134 for(i=0; i<MAXSIZE; i++) boxid[i] = -1; 134 135 for(k=0; k<nbox; k++) { 135 136 if(box[k].exfit >= MAXSIZE-1) continue; … … 188 189 for(jp=kp+1; jp<n; jp++) { 189 190 j = boxid[jp]; 191 /* CZW: Since I added the initialization statement above, */ 192 /* any box with boxid == -1 hasn't been set, and */ 193 /* therefore needs to be dropped, I think. */ 194 if ((k < 0)||(j < 0)) { continue; } 190 195 if(ABS(yctr[jp]-yctr[kp]) <= DIFFERENT_STREAK) { 191 196 /* Merge k into j, trash k from further consideration */
Note:
See TracChangeset
for help on using the changeset viewer.
