- Timestamp:
- 03/08/12 16:57:56 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/Scantable.cpp
r2411 r2427 3550 3550 std::string Scantable::getMaskRangeList(const std::vector<bool>& mask, int whichrow, const casa::String& coordInfo, bool hasSameNchan, bool verbose) 3551 3551 { 3552 if (mask.size() < 2) {3553 throw(AipsError("The mask elements should be > 1"));3552 if (mask.size() <= 0) { 3553 throw(AipsError("The mask elements should be > 0")); 3554 3554 } 3555 3555 int IF = getIF(whichrow); … … 3584 3584 std::vector<int> Scantable::getMaskEdgeIndices(const std::vector<bool>& mask) 3585 3585 { 3586 if (mask.size() < 2) {3587 throw(AipsError("The mask elements should be > 1"));3586 if (mask.size() <= 0) { 3587 throw(AipsError("The mask elements should be > 0")); 3588 3588 } 3589 3589
Note:
See TracChangeset
for help on using the changeset viewer.