Changeset 2552 for branches


Ignore:
Timestamp:
05/29/12 15:11:50 (13 years ago)
Author:
Takeshi Nakazato
Message:

New Development: No

JIRA Issue: Yes CAS-4201

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 for the case when getpt is False.


File:
1 edited

Legend:

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

    r2550 r2552  
    676676
    677677    // initialize toj2000 and toazel
    678     toj2000 = MDirection::Convert( dirType, MDirection::Ref( MDirection::J2000, mf ) ) ;
    679     toazel = MDirection::Convert( dirType, MDirection::Ref( MDirection::AZELGEO, mf ) ) ;
     678    initConvert() ;
    680679  }
    681680  void setWeatherTime( const Vector<Double> &t, const Vector<Double> &it )
     
    711710  uInt getFilledRowNum() { return rowidx ; }
    712711private:
     712  void initConvert()
     713  {
     714    toj2000 = MDirection::Convert( dirType, MDirection::Ref( MDirection::J2000, mf ) ) ;
     715    toazel = MDirection::Convert( dirType, MDirection::Ref( MDirection::AZELGEO, mf ) ) ;
     716  }
     717
    713718  void fluxUnit( String &u )
    714719  {
     
    758763      String ref = dir.getRefString() ;
    759764      MDirection::getType( dirType, ref ) ;
     765     
     766      // initialize toj2000 and toazel
     767      initConvert() ;
    760768    }
    761769
Note: See TracChangeset for help on using the changeset viewer.