Index: trunk/MagicSoft/Mars/mcalib/MMcCalibrationCalc.cc
===================================================================
--- trunk/MagicSoft/Mars/mcalib/MMcCalibrationCalc.cc	(revision 8018)
+++ trunk/MagicSoft/Mars/mcalib/MMcCalibrationCalc.cc	(revision 8024)
@@ -224,6 +224,6 @@
       return kFALSE;
     }
-  TArrayF innerlightcoll = mcconfig->GetLightCollectionFactor();
-  TArrayF outerlightcoll = mcconfig->GetLightCollectionFactorOuter();
+  const TArrayF &innerlightcoll = mcconfig->GetLightCollectionFactor();
+  const TArrayF &outerlightcoll = mcconfig->GetLightCollectionFactorOuter();
 
   // In principle outer pixels seem to have a different average light 
