Changeset 2564 for branches


Ignore:
Timestamp:
06/12/12 19:18:49 (12 years ago)
Author:
Takeshi Nakazato
Message:

New Development: No

JIRA Issue: No

Ready for Test: Yes

Interface Changes: No

What Interface Changed: Please list interface changes

Test Programs: List test programs

Put in Release Notes: Yes/No?

Module(s): Module Names change impacts.

Description: Describe your changes here...

Bug fix in STMath::averageWithinSession.
Restore modified SCANNO in input scantable.


File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/hpc33/src/STMath.cpp

    r2563 r2564  
    55565556    uInt nrow = timeCol->nrow() ;
    55575557    Vector<Double> timeSep = timeCol->getColumn() ;
     5558    Vector<uInt> scannoOrg = s->scanCol_.getColumn() ;
    55585559    delete timeCol ;
    55595560    for ( uInt i = nrow-2 ; i > 0 ; i-- ) {
     
    55815582    vector< CountedPtr<Scantable> > tmp( 1, s ) ;
    55825583    CountedPtr<Scantable> a = average( tmp, mask, weight, "SCAN" ) ;
     5584    s->scanCol_.putColumn( scannoOrg ) ;
    55835585//     double t3 = mathutil::gettimeofday_sec() ;
    55845586//     cout << "a.nrow = " << a->nrow() << endl ;
Note: See TracChangeset for help on using the changeset viewer.