Ignore:
Timestamp:
04/06/06 13:45:58 (18 years ago)
Author:
mar637
Message:

more fixes after compiling with -Wall.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/STMathWrapper.h

    r992 r996  
    4343  {
    4444    std::vector<casa::CountedPtr<Scantable> > sts;
    45     for (int i=0; i<in.size(); ++i) sts.push_back(in[i].getCP());
     45    for (unsigned int i=0; i<in.size(); ++i) sts.push_back(in[i].getCP());
    4646    return ScantableWrapper(STMath::average(sts, mask, weight, avmode));
    4747  }
     
    8787                  const std::vector<float>& coeff,
    8888                  const std::string& filename,
    89                   const std::string& method)
     89                  const std::string& method)
    9090
    9191  { return
     
    106106  {
    107107    std::vector<casa::CountedPtr<Scantable> > sts;
    108     for (int i=0; i<in.size(); ++i) sts.push_back(in[i].getCP());
     108    for (unsigned int i=0; i<in.size(); ++i) sts.push_back(in[i].getCP());
    109109    return ScantableWrapper(STMath::merge(sts)); }
    110110
Note: See TracChangeset for help on using the changeset viewer.