Changeset 2489 for trunk/external-alma


Ignore:
Timestamp:
05/09/12 18:00:15 (13 years ago)
Author:
Takeshi Nakazato
Message:

New Development: No

JIRA Issue: No

Ready for Test: Yes

Interface Changes: No

What Interface Changed: lease list interface changes

Test Programs: sdsave unit test

Put in Release Notes: No

Module(s): Module Names change impacts.

Description: Describe your changes here...

minor speed up


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/external-alma/atnf/PKSIO/NROReader.cc

    r2434 r2489  
    626626 
    627627  // flagtra
     628  bool setValue = !( flagtra.nelements() == spectra.nelements() ) ;
    628629  flagtra.resize( spectra.nelements() ) ;
    629   flagtra.set( 0 ) ;
     630  if ( setValue ) {
     631    //cout << "flagtra resized. reset values..." << endl ;
     632    flagtra.set( 0 ) ;
     633  }
    630634  //cout << "flag.size() = " << flag.size() << endl ;
    631635
Note: See TracChangeset for help on using the changeset viewer.