Changeset 2612 for trunk


Ignore:
Timestamp:
07/31/12 18:13:39 (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...

Minor bug fix on STMath::averageWithinSession().


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/STMath.cpp

    r2595 r2612  
    46784678
    46794679    Vector<uInt> rows = iter.getRows( SHARE ) ;
     4680    uInt len = rows.nelements() ;
     4681
     4682    if ( len == 0 ) {
     4683      iter.next() ;
     4684      continue ;
     4685    }
    46804686
    46814687    uInt nchan = s->nchan(s->getIF(rows[0])) ;
     
    46844690    Vector<Float> spec( nchan ) ;
    46854691    Vector<Float> tsys( nchan ) ;
    4686 
    4687     uInt len = rows.nelements() ;
    46884692
    46894693    Vector<Double> timeSep( len-1 ) ;
Note: See TracChangeset for help on using the changeset viewer.