Ignore:
Timestamp:
11/11/11 14:09:03 (13 years ago)
Author:
Kana Sugimoto
Message:

New Development: No

JIRA Issue: No (a bug fix related to CAS-3606)

Ready for Test: Yes

Interface Changes: No

What Interface Changed:

Test Programs: all SD unit and regression tests passed

Put in Release Notes: No

Module(s): asap.scantable and asap.asapmath

Description: spceified ifno parameter in some of the calls to scantable.nchan.


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/Scantable.cpp

    r2347 r2348  
    773773{
    774774    Vector<Float> spcs = specCol_(whichrow);
    775     uInt nchannel = nchan();
     775    uInt nchannel = spcs.nelements();
    776776    if (spcs.nelements() != nchannel) {
    777777      throw(AipsError("Data has incorrect number of channels"));
     
    837837    return;
    838838  }
    839   if ( int(msk.size()) != nchan() ) {
     839  if ( int(msk.size()) != nchan( getIF(whichrow) ) ) {
    840840    throw(AipsError("Mask has incorrect number of channels."));
    841841  }
Note: See TracChangeset for help on using the changeset viewer.