Index: /trunk/psLib/src/dataManip/psStats.c
===================================================================
--- /trunk/psLib/src/dataManip/psStats.c	(revision 3354)
+++ /trunk/psLib/src/dataManip/psStats.c	(revision 3355)
@@ -9,6 +9,6 @@
  *  @author GLG, MHPCC
  *
- *  @version $Revision: 1.116 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2005-03-01 21:20:51 $
+ *  @version $Revision: 1.117 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2005-03-01 22:21:34 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -1093,11 +1093,11 @@
 
         // b) compute new mean and stdev
-        p_psVectorSampleMean(myVector, errors, tmpMask, maskVal, statsTmp);
-        p_psVectorSampleStdev(myVector, errors, tmpMask, maskVal, statsTmp);
+        p_psVectorSampleMean(myVector, errors, tmpMask, 0xff, statsTmp);
+        p_psVectorSampleStdev(myVector, errors, tmpMask, 0xff, statsTmp);
 
         // If the new mean and stdev are NAN, we must exit the loop.
         // Otherwise, use the new results and continue.
         if (isnan(statsTmp->sampleMean) || isnan(statsTmp->sampleStdev)) {
-            // Exit loop.  XXX: Should we throw an error or warning here?
+            // Exit loop.  XXX: Should we throw an error/warning here?
             iter = stats->clipIter;
             rc = -1;
Index: /trunk/psLib/src/math/psStats.c
===================================================================
--- /trunk/psLib/src/math/psStats.c	(revision 3354)
+++ /trunk/psLib/src/math/psStats.c	(revision 3355)
@@ -9,6 +9,6 @@
  *  @author GLG, MHPCC
  *
- *  @version $Revision: 1.116 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2005-03-01 21:20:51 $
+ *  @version $Revision: 1.117 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2005-03-01 22:21:34 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -1093,11 +1093,11 @@
 
         // b) compute new mean and stdev
-        p_psVectorSampleMean(myVector, errors, tmpMask, maskVal, statsTmp);
-        p_psVectorSampleStdev(myVector, errors, tmpMask, maskVal, statsTmp);
+        p_psVectorSampleMean(myVector, errors, tmpMask, 0xff, statsTmp);
+        p_psVectorSampleStdev(myVector, errors, tmpMask, 0xff, statsTmp);
 
         // If the new mean and stdev are NAN, we must exit the loop.
         // Otherwise, use the new results and continue.
         if (isnan(statsTmp->sampleMean) || isnan(statsTmp->sampleStdev)) {
-            // Exit loop.  XXX: Should we throw an error or warning here?
+            // Exit loop.  XXX: Should we throw an error/warning here?
             iter = stats->clipIter;
             rc = -1;
