Changeset 1929
- Timestamp:
- 09/17/10 17:02:28 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/Scantable.cpp
r1919 r1929 543 543 // take the first POLNO,IFNO,CYCLENO as nbeam shouldn't vary with these 544 544 Table t = table_(table_.col("SCANNO") == scanno); 545 if ( t.nrow() == 0 ) return 0 ; 545 546 ROTableRow row(t); 546 547 const TableRecord& rec = row.get(0); … … 563 564 // take the first POLNO,BEAMNO,CYCLENO as nbeam shouldn't vary with these 564 565 Table t = table_(table_.col("SCANNO") == scanno); 566 if ( t.nrow() == 0 ) return 0 ; 565 567 ROTableRow row(t); 566 568 const TableRecord& rec = row.get(0); … … 584 586 // take the first POLNO,IFNO,CYCLENO as nbeam shouldn't vary with these 585 587 Table t = table_(table_.col("SCANNO") == scanno); 588 if ( t.nrow() == 0 ) return 0 ; 586 589 ROTableRow row(t); 587 590 const TableRecord& rec = row.get(0); … … 611 614 } else { 612 615 Table t = table_(table_.col("SCANNO") == scanno); 616 if ( t.nrow() == 0 ) return 0 ; 613 617 ROTableRow row(t); 614 618 const TableRecord& rec = row.get(0);
Note:
See TracChangeset
for help on using the changeset viewer.