Ignore:
Timestamp:
01/31/05 11:22:17 (20 years ago)
Author:
moralejo
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.