Changeset 1569 for trunk/src/STMath.cpp


Ignore:
Timestamp:
06/29/09 12:00:27 (15 years ago)
Author:
Malte Marquarding
Message:

Fix enum problem with WeightType? enum value already defined somewhere by adding W_ prefix. ALso removed enums which are no longer in use

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/STMath.cpp

    r1505 r1569  
    4747#include "RowAccumulator.h"
    4848#include "STAttr.h"
     49#include "STSelector.h"
     50
    4951#include "STMath.h"
    50 #include "STSelector.h"
    51 
    5252using namespace casa;
    5353
     
    330330}
    331331
    332 CountedPtr<Scantable> STMath::binaryOperate(const CountedPtr<Scantable>& left, 
    333                                             const CountedPtr<Scantable>& right, 
     332CountedPtr<Scantable> STMath::binaryOperate(const CountedPtr<Scantable>& left,
     333                                            const CountedPtr<Scantable>& right,
    334334                                            const std::string& mode)
    335335{
     
    11761176  // initialize the lookup table if necessary
    11771177  if ( lookup.empty() ) {
    1178     lookup["NONE"]   = asap::NONE;
    1179     lookup["TINT"] = asap::TINT;
    1180     lookup["TINTSYS"]  = asap::TINTSYS;
    1181     lookup["TSYS"]  = asap::TSYS;
    1182     lookup["VAR"]  = asap::VAR;
     1178    lookup["NONE"]   = asap::W_NONE;
     1179    lookup["TINT"] = asap::W_TINT;
     1180    lookup["TINTSYS"]  = asap::W_TINTSYS;
     1181    lookup["TSYS"]  = asap::W_TSYS;
     1182    lookup["VAR"]  = asap::W_VAR;
    11831183  }
    11841184
     
    16201620  cols[3] = String("CYCLENO");
    16211621  TableIterator iter(tout, cols);
    1622   CountedPtr<STPol> stpol = STPol::getPolClass(out->factories_, 
     1622  CountedPtr<STPol> stpol = STPol::getPolClass(out->factories_,
    16231623                                               out->getPolType() );
    16241624  while (!iter.pastEnd()) {
Note: See TracChangeset for help on using the changeset viewer.