Changeset 787 for trunk


Ignore:
Timestamp:
05/14/01 17:30:00 (23 years ago)
Author:
magicsol
Message:
A new parameter has been ontroduced to call FindLagrange to avoid acces to no
allocated memory.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Simulation/Detector/ReflectorII/ph2cph.c

    r725 r787  
    140140  /*  find data point to be used in Lagrange interpolation (-> k) */
    141141
    142   FindLagrange(Reflectivity,k,wl);
     142  FindLagrange(Reflectivity,k,wl,nReflectivity);
    143143         
    144144  /*  if random > reflectivity then goes to the TOP of the loop again */
Note: See TracChangeset for help on using the changeset viewer.