Index: trunk/psModules/src/detrend/pmFlatNormalize.h
===================================================================
--- trunk/psModules/src/detrend/pmFlatNormalize.h	(revision 7060)
+++ trunk/psModules/src/detrend/pmFlatNormalize.h	(revision 7179)
@@ -2,4 +2,5 @@
 #define PM_FLAT_NORMALIZE_H
 
+#include "pslib.h"
 
 // Normalise the flat-field measurements (f_ij = g_i s_j where f_ij is the flux recorded for chip i and
@@ -10,5 +11,5 @@
                           const psImage *fluxLevels, // Fluxes for each integration (row) and chip (col)
                           unsigned int maxIter, // Maximum number of iterations
-                          double tolerance   // Tolerance level before dying
+                          float tolerance // Tolerance level before dying
                          );
 
