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