Index: /trunk/FACT++/src/makedata.cc
===================================================================
--- /trunk/FACT++/src/makedata.cc	(revision 16378)
+++ /trunk/FACT++/src/makedata.cc	(revision 16379)
@@ -190,5 +190,5 @@
         //const double cs = cos((90+hrz.alt)*M_PI/180);
         //const double ratio = (10.*sqrt(409600.*cs*cs+9009.) + 6400.*cs - 60.)/10.;
-        const double ratio = pow(cos((90.-hrz.alt)*M_PI/180, -2.664);
+        const double ratio = pow(cos((90-hrz.alt)*M_PI/180), -2.664);
 
         // Add points to curve
Index: /trunk/FACT++/src/makeplots.cc
===================================================================
--- /trunk/FACT++/src/makeplots.cc	(revision 16378)
+++ /trunk/FACT++/src/makeplots.cc	(revision 16379)
@@ -311,5 +311,5 @@
             //const double cs = cos((90+hrz.alt)*M_PI/180);
             //const double ratio = (10.*sqrt(409600.*cs*cs+9009.) + 6400.*cs - 60.)/10.;
-            const double ratio = pow(cos((90.-hrz.alt)*M_PI/180, -2.664);
+            const double ratio = pow(cos((90-hrz.alt)*M_PI/180), -2.664);
 
             // Add points to curve
