Index: trunk/psLib/src/image/psImageStats.c
===================================================================
--- trunk/psLib/src/image/psImageStats.c	(revision 2436)
+++ trunk/psLib/src/image/psImageStats.c	(revision 2602)
@@ -9,6 +9,6 @@
  *  @author GLG, MHPCC
  *
- *  @version $Revision: 1.55 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2004-11-24 22:14:39 $
+ *  @version $Revision: 1.56 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2004-12-03 19:43:43 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -127,4 +127,6 @@
 0:512 to -1:1.  This routine takes as input an integer N and produces as
 output a vector of evenly spaced floating point values between -1.0:1.0.
+ 
+XXX: Use the p_psNormalizeVector here?
  *****************************************************************************/
 double* calcScaleFactors(psS32 n)
@@ -253,13 +255,6 @@
                         pixel = input->data.F64[x][y];
                     }
-                    sums[i][j] += pixel *
-                                  psPolynomial1DEval(
-                                      chebPolys[i],
-                                      rScalingFactors[x]
-                                  ) *
-                                  psPolynomial1DEval(
-                                      chebPolys[j],
-                                      cScalingFactors[y]
-                                  );
+                    sums[i][j] += pixel * psPolynomial1DEval(chebPolys[i],rScalingFactors[x]) *
+                                  psPolynomial1DEval(chebPolys[j], cScalingFactors[y]);
                 }
             }
@@ -375,5 +370,5 @@
     // Free the Chebyshev polynomials that were
     // created in this routine.
-    // XXX: Use dtatic data structures here.
+    // XXX: Use static data structures here.
     for (i = 0; i < maxChebyPoly; i++) {
         psFree(chebPolys[i]);
