Changeset 1706 for branches/alma/src/Scantable.cpp
- Timestamp:
- 02/18/10 21:53:16 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/alma/src/Scantable.cpp
r1703 r1706 708 708 Vector<Float> spcs = specCol_(i); 709 709 Vector<uChar> flgs = flagsCol_(i); 710 if (spcs.nelements() != nchan()) { 710 uInt nchannel = nchan(); 711 if (spcs.nelements() != nchannel) { 711 712 throw(AipsError("Data has incorrect number of channels")); 712 713 } … … 716 717 } 717 718 if (clipoutside) { 718 for (uInt j = 0; j < nchan (); ++j) {719 for (uInt j = 0; j < nchannel; ++j) { 719 720 Float spc = spcs(j); 720 721 if ((spc >= uthres) || (spc <= dthres)) { … … 723 724 } 724 725 } else { 725 for (uInt j = 0; j < nchan (); ++j) {726 for (uInt j = 0; j < nchannel; ++j) { 726 727 Float spc = spcs(j); 727 728 if ((spc < uthres) && (spc > dthres)) {
Note: See TracChangeset
for help on using the changeset viewer.