Changeset 6141 for trunk/MagicSoft/Mars


Ignore:
Timestamp:
01/31/05 11:22:17 (20 years ago)
Author:
moralejo
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r6133 r6141  
    2020
    2121                                                 -*-*- END OF LINE -*-*-
     22
     23 2005/01/31 Abelardo Moralejo
     24
     25   * mpointing/MSrcPosCalc.cc
     26     - Create only one instance of MAstroSky2Local for the
     27       transformations, instead of two identical ones, as it was before.
     28
     29
    2230 2005/01/30 Markus Gaug
    2331 
  • trunk/MagicSoft/Mars/mpointing/MSrcPosCalc.cc

    r6082 r6141  
    211211  // Convert sky coordinates of source to local coordinates. Warning! These are not the "true" local
    212212  // coordinates, since this transformation ignores precession and nutation effects.
    213   pos *= MAstroSky2Local(*fTime, *fObservatory);
     213  const MAstroSky2Local conv(*fTime, *fObservatory);
     214
     215  pos *= conv;
    214216
    215217
     
    224226
    225227  pos0.SetRaDec(fPointPos->GetRaRad(), fPointPos->GetDecRad());
    226   pos0 *= MAstroSky2Local(*fTime, *fObservatory);
     228  pos0 *= conv;
    227229
    228230  //     *fLog << dbg << "From MAstroSky2Local, without precession and nutation corrections:" << endl;
Note: See TracChangeset for help on using the changeset viewer.