- Timestamp:
- 04/26/07 14:52:32 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/RowAccumulator.cpp
r1333 r1352 137 137 casa::Vector< casa::Bool > RowAccumulator::getMask( ) const 138 138 { 139 // if no elements accumulated the mask is all True 140 // we have to return everything False 141 if (max(n_) < 1.0) return !spectrum_.getMask(); 142 return spectrum_.getMask(); 139 // Return the "total" mask - False where no points have been accumulated. 140 return (n_.getArray() > Float(0.0)); 143 141 } 144 142
Note:
See TracChangeset
for help on using the changeset viewer.