- Timestamp:
- 11/25/15 17:57:18 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/STLineFinder.cpp
r3085 r3086 1128 1128 1129 1129 for (int n=edge.first;n<edge.second;n+=boxsize) { 1130 DebugAssert( n<spectrum.nelements(),AipsError);1130 DebugAssert((uInt)n<spectrum.nelements(),AipsError); 1131 1131 int nboxch=0; // number of channels currently in the box 1132 1132 Float mean=0; // buffer for mean calculations … … 1161 1161 throw AipsError("STLineFinder::getMask - a scan should be set first," 1162 1162 " use set_scan followed by find_lines"); 1163 DebugAssert(mask.nelements()== scan->getChannels(last_row_used), AipsError);1163 DebugAssert(mask.nelements()==(uInt)scan->getChannels(last_row_used), AipsError); 1164 1164 } 1165 1165 /* … … 1227 1227 throw AipsError("STLineFinder::getLineRangesInChannels - a scan should be set first," 1228 1228 " use set_scan followed by find_lines"); 1229 DebugAssert(mask.nelements()== scan->getChannels(last_row_used), AipsError);1229 DebugAssert(mask.nelements()==(uInt)scan->getChannels(last_row_used), AipsError); 1230 1230 } 1231 1231
Note:
See TracChangeset
for help on using the changeset viewer.