Index: trunk/psLib/src/math/psStats.c
===================================================================
--- trunk/psLib/src/math/psStats.c	(revision 10767)
+++ trunk/psLib/src/math/psStats.c	(revision 10773)
@@ -13,6 +13,6 @@
  * use ->min and ->max (PS_STAT_USE_RANGE)
  *
- *  @version $Revision: 1.195 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2006-12-14 19:12:05 $
+ *  @version $Revision: 1.196 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2006-12-16 05:33:48 $
  *
  *  Copyright 2006 IfA, University of Hawaii
@@ -484,4 +484,5 @@
         // a) Exclude all values x_i for which |x_i - x| > K * stdev
         if (errors) {
+            // XXXX if we convert errors to variance, this should square the other terms (A*A faster than sqrt(A))
             for (long j = 0; j < myVector->n; j++) {
                 if (!tmpMask->data.U8[j] &&
@@ -660,4 +661,5 @@
         // Generate the histogram
         histogram = psHistogramAlloc(min, max, numBins);
+        // XXXXX we need to consider this step if errors -> variance
         histogram = psVectorHistogram(histogram, myVector, errors, mask, maskVal);
         if (psTraceGetLevel("psLib.math") >= 8) {
