Index: trunk/MagicSoft/Simulation/Detector/ReflectorII/ph2cph.c
===================================================================
--- trunk/MagicSoft/Simulation/Detector/ReflectorII/ph2cph.c	(revision 786)
+++ trunk/MagicSoft/Simulation/Detector/ReflectorII/ph2cph.c	(revision 787)
@@ -140,5 +140,5 @@
   /*  find data point to be used in Lagrange interpolation (-> k) */ 
 
-  FindLagrange(Reflectivity,k,wl);
+  FindLagrange(Reflectivity,k,wl,nReflectivity);
           
   /*  if random > reflectivity then goes to the TOP of the loop again */
