Changeset 858 for trunk/src/STMath.cpp


Ignore:
Timestamp:
03/01/06 11:49:55 (18 years ago)
Author:
mar637
Message:

changed average interface to use std::vector<bool> instead of casa::Vector
added default arguments to average

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/STMath.cpp

    r847 r858  
    5555CountedPtr<Scantable>
    5656STMath::average( const std::vector<CountedPtr<Scantable> >& in,
    57                  const Vector<Bool>& mask,
     57                 const std::vector<bool>& mask,
    5858                 const std::string& weight,
    5959                 const std::string& avmode,
     
    107107  }
    108108  RowAccumulator acc(wtype);
    109   acc.setUserMask(mask);
     109  Vector<Bool> cmask(mask);
     110  acc.setUserMask(cmask);
    110111  ROTableRow row(tout);
    111112  ROArrayColumn<Float> specCol, tsysCol;
Note: See TracChangeset for help on using the changeset viewer.