Changeset 2774 for trunk/src/STLineFinder.cpp
- Timestamp:
- 02/25/13 17:35:27 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/STLineFinder.cpp
r2580 r2774 1006 1006 throw AipsError("STLineFinder::findLines - the in_edge parameter has a negative" 1007 1007 "number of channels to drop"); 1008 if (edge.first>=int(nchan)) 1008 if (edge.first>=int(nchan)) { 1009 1009 throw AipsError("STLineFinder::findLines - all channels are rejected by the in_edge parameter"); 1010 } 1010 1011 if (in_edge.size()==2) { 1011 1012 edge.second=in_edge[1]; … … 1015 1016 edge.second=nchan-edge.second; 1016 1017 } else edge.second=nchan-edge.first; 1017 if (edge.second<0 || (edge.first>=edge.second)) 1018 if (edge.second<0 || (edge.first>=edge.second)) { 1018 1019 throw AipsError("STLineFinder::findLines - all channels are rejected by the in_edge parameter"); 1020 } 1019 1021 } 1020 1022
Note: See TracChangeset
for help on using the changeset viewer.