Ignore:
Timestamp:
02/25/13 17:35:27 (11 years ago)
Author:
WataruKawasaki
Message:

New Development: No

JIRA Issue: No

Ready for Test: Yes

Interface Changes: No

What Interface Changed:

Test Programs:

Put in Release Notes: No

Module(s): sd

Description: fixed a bug in Scantable::getCompositeChanMask().


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/STLineFinder.cpp

    r2580 r2774  
    10061006               throw AipsError("STLineFinder::findLines - the in_edge parameter has a negative"
    10071007                                "number of channels to drop");
    1008            if (edge.first>=int(nchan))
     1008           if (edge.first>=int(nchan)) {
    10091009               throw AipsError("STLineFinder::findLines - all channels are rejected by the in_edge parameter");
     1010           }
    10101011           if (in_edge.size()==2) {
    10111012               edge.second=in_edge[1];
     
    10151016               edge.second=nchan-edge.second;
    10161017           } else edge.second=nchan-edge.first;
    1017            if (edge.second<0 || (edge.first>=edge.second))
     1018           if (edge.second<0 || (edge.first>=edge.second)) {
    10181019               throw AipsError("STLineFinder::findLines - all channels are rejected by the in_edge parameter");
     1020           }
    10191021       }
    10201022
Note: See TracChangeset for help on using the changeset viewer.