Index: trunk/psModules/src/pmSubtractSky.c
===================================================================
--- trunk/psModules/src/pmSubtractSky.c	(revision 2916)
+++ trunk/psModules/src/pmSubtractSky.c	(revision 2928)
@@ -6,6 +6,6 @@
  *  @author GLG, MHPCC
  *
- *  @version $Revision: 1.17 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2005-01-05 23:43:58 $
+ *  @version $Revision: 1.18 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2005-01-07 20:00:34 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -29,5 +29,5 @@
     psS32 numBits = 0;
 
-    for (i=0;i<4 * sizeof(psStatsOptions);i++) {
+    for (i=0;i<8 * sizeof(psStatsOptions);i++) {
         if (0x0001 & tmpData) {
             numBits++;
@@ -439,8 +439,11 @@
     psStatsOptions statOptions = 0;
 
+    //
     // Return the original input readout if the fit specs are poorly defined.
+    // No warning or error messages should be generated.
+    //
     if ((fitSpec == NULL) ||
             ((fit == PM_FIT_NONE) || (fit == PM_FIT_SPLINE))) {
-        psLogMsg(__func__, PS_LOG_WARN, "Fit specs are poorly defined.  Returning in image.\n");
+        //        psLogMsg(__func__, PS_LOG_WARN, "Fit specs are poorly defined.  Returning in image.\n");
         return(in);
     }
