Changeset 304 for trunk


Ignore:
Timestamp:
01/27/05 15:23:12 (20 years ago)
Author:
kil064
Message:

reset cursor to 0 few some output scan tables

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/SDMath.cc

    r299 r304  
    376376           timeSum/nR, intSum, sourceNameStart, freqIDStart);
    377377  pTabOut->putSDContainer(sc);
     378  pTabOut->resetCursor();
    378379//
    379380  return CountedPtr<SDMemTable>(pTabOut);
     
    509510  }
    510511  if (pMRight) delete pMRight;
     512  pTabOut->resetCursor();
    511513//
    512514  return CountedPtr<SDMemTable>(pTabOut);
     
    693695  const uInt nChanOut = i;
    694696  xOut.resize(nChanOut,True);
    695 cerr << "width, shape in, out = " << width << ", " << nChanIn << ", " << nChanOut << endl;
    696697//
    697698  IPosition shapeIn(in.rowAsMaskedArray(0).shape());
     
    945946      pTabOut->putSDContainer(sc);
    946947   }
     948
     949// Set polarization cursor to 0
     950
     951  pTabOut->setPol(0);
    947952//
    948953  return pTabOut;
     
    14101415  for (uInt i=0; i<vA.nelements(); i++) delete vA[i];
    14111416//
     1417  pTabOut->resetCursor();
    14121418  return pTabOut;
    14131419}
Note: See TracChangeset for help on using the changeset viewer.