Index: /trunk/Mars/msimreflector/MFresnelLens.cc
===================================================================
--- /trunk/Mars/msimreflector/MFresnelLens.cc	(revision 19603)
+++ /trunk/Mars/msimreflector/MFresnelLens.cc	(revision 19604)
@@ -95,5 +95,5 @@
 };
 
-float CalcIntersection(const MQuaternion &p, const MQuaternion &u, const Groove &g, const double &fThickness)
+double CalcIntersection(const MQuaternion &p, const MQuaternion &u, const Groove &g, const double &fThickness)
 {
    // p is the position  in the plane  of the lens (px, py, 0,  t)
@@ -267,5 +267,5 @@
 
     // Calculate the insersection between the ray and the cone
-    float dz = CalcIntersection(p, u, g, -H);
+    const double dz = CalcIntersection(p, u, g, -H);
 
     // No groove was hit
