- Timestamp:
- 11/11/11 14:09:03 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/Scantable.cpp
r2347 r2348 773 773 { 774 774 Vector<Float> spcs = specCol_(whichrow); 775 uInt nchannel = nchan();775 uInt nchannel = spcs.nelements(); 776 776 if (spcs.nelements() != nchannel) { 777 777 throw(AipsError("Data has incorrect number of channels")); … … 837 837 return; 838 838 } 839 if ( int(msk.size()) != nchan( ) ) {839 if ( int(msk.size()) != nchan( getIF(whichrow) ) ) { 840 840 throw(AipsError("Mask has incorrect number of channels.")); 841 841 }
Note:
See TracChangeset
for help on using the changeset viewer.