Index: /trunk/psModules/src/pmFlatField.c
===================================================================
--- /trunk/psModules/src/pmFlatField.c	(revision 1803)
+++ /trunk/psModules/src/pmFlatField.c	(revision 1804)
@@ -15,6 +15,6 @@
  *  @author Ross Harman, MHPCC
  *
- *  @version $Revision: 1.4 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2004-09-14 18:04:31 $
+ *  @version $Revision: 1.5 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2004-09-14 18:08:14 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -95,27 +95,27 @@
 
     // Macro for all PS types
-    #define PM_FLAT_DIVISION(TYPE)                                                                   \
-case PS_TYPE_##TYPE:                                                                                 \
-    for(j = inImage->row0; j < inImage->numRows; j++) {                                              \
-        for(i = inImage->col0; i < inImage->numCols; i++) {                                          \
-            if(creal(flatImage->data.TYPE[j][i]) <= 0.0) {                                           \
-                /* Negative or zero flat pixels shall be masked in input image as  PM_MASK_FLAT */   \
-                inMaskImage->data.F64[j][i] = PM_MASK_FLAT;                                          \
-            } else if(flatMaskImage->data.TYPE[j][i]){                                               \
-                /* Pixels masked in the flat shall be masked with same values in the output */       \
-                inMaskImage->data.TYPE[j][i] = flatMaskImage->data.TYPE[j][i];                       \
-            }                                                                                        \
-            if(creal(flatImage->data.TYPE[j][i]) < 0.0) {                                            \
-                /* Negative pixels from the flat image may be set to zero */                         \
-                inImage->data.TYPE[j][i] = 0.0                                                       \
-                                       } else if(fabs(flatImage->data.TYPE[j][i]) < FLT_EPSILON) {                              \
-                                           psError(__func__, " : Line %d - Divide by zero. Row: %d Col: %d",__LINE__, j, i);    \
-                                       } else {                                                                                 \
-                                           /* Module shall divide the input image by the flat-fielded image */                  \
-                                           inImage->data.TYPE[j][i] = inImage->data.TYPE[j][i]/flatImage->data.TYPE[j][i];      \
-                                       }                                                                                        \
-                                   }                                                                                            \
-                               }                                                                                                \
-                               break;
+    #define PM_FLAT_DIVISION(TYPE)                                                                           \
+case PS_TYPE_##TYPE:                                                                                         \
+    for(j = inImage->row0; j < inImage->numRows; j++) {                                                      \
+        for(i = inImage->col0; i < inImage->numCols; i++) {                                                  \
+            if(creal(flatImage->data.TYPE[j][i]) <= 0.0) {                                                   \
+                /* Negative or zero flat pixels shall be masked in input image as  PM_MASK_FLAT */           \
+                inMaskImage->data.F64[j][i] = PM_MASK_FLAT;                                                  \
+            } else if(flatMaskImage->data.TYPE[j][i]){                                                       \
+                /* Pixels masked in the flat shall be masked with same values in the output */               \
+                inMaskImage->data.TYPE[j][i] = flatMaskImage->data.TYPE[j][i];                               \
+            }                                                                                                \
+            if(creal(flatImage->data.TYPE[j][i]) < 0.0) {                                                    \
+                /* Negative pixels from the flat image may be set to zero */                                 \
+                inImage->data.TYPE[j][i] = 0.0;                                                              \
+            } else if(fabs(flatImage->data.TYPE[j][i]) < FLT_EPSILON) {                                      \
+                psError(__func__, " : Line %d - Divide by zero. Row: %d Col: %d",__LINE__, j, i);            \
+            } else {                                                                                         \
+                /* Module shall divide the input image by the flat-fielded image */                          \
+                inImage->data.TYPE[j][i] = inImage->data.TYPE[j][i]/flatImage->data.TYPE[j][i];              \
+            }                                                                                                \
+        }                                                                                                     \
+    }                                                                                                         \
+    break;
 
     switch(inType) {
