Index: /branches/eam_rel9_p0/psModules/src/detrend/pmFlatField.c
===================================================================
--- /branches/eam_rel9_p0/psModules/src/detrend/pmFlatField.c	(revision 6405)
+++ /branches/eam_rel9_p0/psModules/src/detrend/pmFlatField.c	(revision 6406)
@@ -24,6 +24,6 @@
  *  @author Ross Harman, MHPCC
  *
- *  @version $Revision: 1.4.8.1.2.3 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2006-01-20 09:47:06 $
+ *  @version $Revision: 1.4.8.1.2.4 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2006-02-09 23:58:21 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -123,4 +123,5 @@
     inType = inImage->type.type;
     flatType = flatImage->type.type;
+    maskType = inMask->type.type;
     if(PS_IS_PSELEMTYPE_COMPLEX(inType)) {
         psError( PS_ERR_BAD_PARAMETER_TYPE, true,
