- Timestamp:
- 07/14/14 18:48:30 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/MSWriter.cpp
r2906 r2975 290 290 { 291 291 uInt idx = 0; 292 while( !isFilled[idx] && idx < 4) ++idx;292 while( idx < 4 && !isFilled[idx] ) ++idx; 293 293 return idx; 294 294 } … … 350 350 { 351 351 // CAS-5545 FLAG must all be set True if FLAG_ROW is True 352 for (uInt ipol = 0; ipol < npol; ++ipol) {353 if ( flagRow[ipol]) {352 for (uInt ipol = 0; ipol < 4; ++ipol) { 353 if (isFilled[ipol] and flagRow[ipol]) { 354 354 flag(IPosition(2, ipol, 0), IPosition(2, ipol, nchan-1)) = True; 355 355 } … … 396 396 { 397 397 // CAS-5545 FLAG must all be set True if FLAG_ROW is True 398 for (uInt ipol = 0; ipol < npol; ++ipol) {399 if ( flagRow[ipol]) {398 for (uInt ipol = 0; ipol < 4; ++ipol) { 399 if (isFilled[ipol] and flagRow[ipol]) { 400 400 flag(IPosition(2, ipol, 0), IPosition(2, ipol, nchan-1)) = True; 401 401 }
Note:
See TracChangeset
for help on using the changeset viewer.