Index: trunk/MagicSoft/Mars/Changelog
===================================================================
--- trunk/MagicSoft/Mars/Changelog	(revision 6140)
+++ trunk/MagicSoft/Mars/Changelog	(revision 6141)
@@ -20,4 +20,12 @@
 
                                                  -*-*- END OF LINE -*-*-
+
+ 2005/01/31 Abelardo Moralejo
+
+   * mpointing/MSrcPosCalc.cc
+     - Create only one instance of MAstroSky2Local for the 
+       transformations, instead of two identical ones, as it was before.
+
+
  2005/01/30 Markus Gaug 
  
Index: trunk/MagicSoft/Mars/mpointing/MSrcPosCalc.cc
===================================================================
--- trunk/MagicSoft/Mars/mpointing/MSrcPosCalc.cc	(revision 6140)
+++ trunk/MagicSoft/Mars/mpointing/MSrcPosCalc.cc	(revision 6141)
@@ -211,5 +211,7 @@
   // Convert sky coordinates of source to local coordinates. Warning! These are not the "true" local 
   // coordinates, since this transformation ignores precession and nutation effects.
-  pos *= MAstroSky2Local(*fTime, *fObservatory);
+  const MAstroSky2Local conv(*fTime, *fObservatory);
+
+  pos *= conv;
 
 
@@ -224,5 +226,5 @@
 
   pos0.SetRaDec(fPointPos->GetRaRad(), fPointPos->GetDecRad());
-  pos0 *= MAstroSky2Local(*fTime, *fObservatory);
+  pos0 *= conv;
 
   //     *fLog << dbg << "From MAstroSky2Local, without precession and nutation corrections:" << endl;
