Index: trunk/MagicSoft/Simulation/Detector/Camera/camera.cxx
===================================================================
--- trunk/MagicSoft/Simulation/Detector/Camera/camera.cxx	(revision 1079)
+++ trunk/MagicSoft/Simulation/Detector/Camera/camera.cxx	(revision 1089)
@@ -21,7 +21,7 @@
 //
 // $RCSfile: camera.cxx,v $
-// $Revision: 1.29 $
+// $Revision: 1.30 $
 // $Author: blanch $ 
-// $Date: 2001-11-14 17:38:23 $
+// $Date: 2001-11-27 09:49:54 $
 //
 ////////////////////////////////////////////////////////////////////////
@@ -1101,5 +1101,5 @@
 	// calculate the effect of the atmospheric extinction 
     
-	zenfactor = pow(10., -0.4 * ext[i] );
+	zenfactor = pow(10., -0.4 * ext[j] );
 	
 	for(i=0; i<cam.inumpixels;i++){
@@ -3310,4 +3310,12 @@
 //
 // $Log: not supported by cvs2svn $
+// Revision 1.29  2001/11/14 17:38:23  blanch
+// Sveral changes have been done:
+// 	- bpoint_in_in_pixel has been dodified to speed up the program
+// 	- Some minor changes have been done to remove warnings
+// 	- buffer size and split version of the Branches have been removed
+// 	- Some modifications were needed to adat the program to the new
+// 	  MRawEvtData::DeletePixels
+//
 // Revision 1.28  2001/10/26 16:31:45  blanch
 // Removing several warnings.
@@ -3382,4 +3390,12 @@
 //
 // $Log: not supported by cvs2svn $
+// Revision 1.29  2001/11/14 17:38:23  blanch
+// Sveral changes have been done:
+// 	- bpoint_in_in_pixel has been dodified to speed up the program
+// 	- Some minor changes have been done to remove warnings
+// 	- buffer size and split version of the Branches have been removed
+// 	- Some modifications were needed to adat the program to the new
+// 	  MRawEvtData::DeletePixels
+//
 // Revision 1.28  2001/10/26 16:31:45  blanch
 // Removing several warnings.
