Index: /trunk/psLib/test/math/tst_psHist00.c
===================================================================
--- /trunk/psLib/test/math/tst_psHist00.c	(revision 5116)
+++ /trunk/psLib/test/math/tst_psHist00.c	(revision 5117)
@@ -13,4 +13,14 @@
 {
     psLogSetFormat("HLNM");
+    //
+    // We list pertinent psStats.c functions here for debugging ease.
+    //
+    psTraceSetLevel(".", 0);
+    psTraceSetLevel("p_psVectorBinDisect", 0);
+    psTraceSetLevel("p_psGetStatValue", 0);
+    psTraceSetLevel("psHistogramAlloc", 0);
+    psTraceSetLevel("psHistogramAllocGeneric", 0);
+    psTraceSetLevel("UpdateHistogramBins", 0);
+    psTraceSetLevel("psVectorHistogram", 0);
     psHistogram *myHist = NULL;
     psS32 testStatus      = true;
Index: /trunk/psLib/test/math/tst_psHist01.c
===================================================================
--- /trunk/psLib/test/math/tst_psHist01.c	(revision 5116)
+++ /trunk/psLib/test/math/tst_psHist01.c	(revision 5117)
@@ -13,4 +13,14 @@
 {
     psLogSetFormat("HLNM");
+    //
+    // We list pertinent psStats.c functions here for debugging ease.
+    //
+    psTraceSetLevel(".", 0);
+    psTraceSetLevel("p_psVectorBinDisect", 0);
+    psTraceSetLevel("p_psGetStatValue", 0);
+    psTraceSetLevel("psHistogramAlloc", 0);
+    psTraceSetLevel("psHistogramAllocGeneric", 0);
+    psTraceSetLevel("UpdateHistogramBins", 0);
+    psTraceSetLevel("psVectorHistogram", 0);
     psHistogram *myHist = NULL;
     psVector *myBounds  = NULL;
Index: /trunk/psLib/test/math/tst_psHist03.c
===================================================================
--- /trunk/psLib/test/math/tst_psHist03.c	(revision 5116)
+++ /trunk/psLib/test/math/tst_psHist03.c	(revision 5117)
@@ -15,4 +15,14 @@
 {
     psLogSetFormat("HLNM");
+    //
+    // We list pertinent psStats.c functions here for debugging ease.
+    //
+    psTraceSetLevel(".", 0);
+    psTraceSetLevel("p_psVectorBinDisect", 0);
+    psTraceSetLevel("p_psGetStatValue", 0);
+    psTraceSetLevel("psHistogramAlloc", 0);
+    psTraceSetLevel("psHistogramAllocGeneric", 0);
+    psTraceSetLevel("UpdateHistogramBins", 0);
+    psTraceSetLevel("psVectorHistogram", 0);
     psHistogram *myHist = NULL;
     psVector *myBounds  = NULL;
Index: /trunk/psLib/test/math/tst_psStats00.c
===================================================================
--- /trunk/psLib/test/math/tst_psStats00.c	(revision 5116)
+++ /trunk/psLib/test/math/tst_psStats00.c	(revision 5117)
@@ -11,6 +11,6 @@
 *  @author GLG, MHPCC
 * 
-*  @version $Revision: 1.2 $  $Name: not supported by cvs2svn $
-*  @date $Date: 2005-08-24 01:24:24 $
+*  @version $Revision: 1.3 $  $Name: not supported by cvs2svn $
+*  @date $Date: 2005-09-24 01:10:00 $
 *
 *  Copyright 2004-2005 Maui High Performance Computing Center, Univ. of Hawaii
@@ -66,4 +66,17 @@
     psLogSetFormat("HLNM");
     psLogSetLevel(PS_LOG_INFO);
+    //
+    // We list pertinent psStats.c functions here for debugging ease.
+    //
+    psTraceSetLevel(".", 0);
+    psTraceSetLevel("p_psGetStatValue", 0);
+    psTraceSetLevel("p_psVectorSampleMean", 0);
+    psTraceSetLevel("p_psVectorMax", 0);
+    psTraceSetLevel("p_psVectorMin", 0);
+    psTraceSetLevel("p_psVectorNValues", 0);
+    psTraceSetLevel("p_psNormalizeVectorRange", 0);
+    psTraceSetLevel("psStatsAlloc", 0);
+    psTraceSetLevel("p_psConvertToF32", 0);
+    psTraceSetLevel("psVectorStats", 0);
 
     return ( ! runTestSuite(stderr, "psVectorStats",tests,argc,argv) );
Index: /trunk/psLib/test/math/tst_psStats01.c
===================================================================
--- /trunk/psLib/test/math/tst_psStats01.c	(revision 5116)
+++ /trunk/psLib/test/math/tst_psStats01.c	(revision 5117)
@@ -11,6 +11,6 @@
 *  @author GLG, MHPCC
 *
-*  @version $Revision: 1.2 $  $Name: not supported by cvs2svn $
-*  @date $Date: 2005-08-24 01:24:24 $
+*  @version $Revision: 1.3 $  $Name: not supported by cvs2svn $
+*  @date $Date: 2005-09-24 01:10:00 $
 *
 * Copyright 2004-2005 Maui High Performance Computing Center, Univ. of Hawaii
@@ -56,4 +56,16 @@
     psLogSetFormat("HLNM");
     psLogSetLevel(PS_LOG_INFO);
+    //
+    // We list pertinent psStats.c functions here for debugging ease.
+    //
+    psTraceSetLevel(".", 0);
+    psTraceSetLevel("p_psGetStatValue", 0);
+    psTraceSetLevel("p_psVectorMax", 0);
+    psTraceSetLevel("p_psVectorMin", 0);
+    psTraceSetLevel("p_psVectorCheckNonEmpty", 0);
+    psTraceSetLevel("p_psVectorNValues", 0);
+    psTraceSetLevel("psStatsAlloc", 0);
+    psTraceSetLevel("p_psConvertToF32", 0);
+    psTraceSetLevel("psVectorStats", 0);
 
     return ( ! runTestSuite(stderr, "psVectorStats", tests, argc, argv) );
Index: /trunk/psLib/test/math/tst_psStats02.c
===================================================================
--- /trunk/psLib/test/math/tst_psStats02.c	(revision 5116)
+++ /trunk/psLib/test/math/tst_psStats02.c	(revision 5117)
@@ -11,6 +11,6 @@
 *  @author GLG, MHPCC
 *
-*  @version $Revision: 1.2 $  $Name: not supported by cvs2svn $
-*  @date $Date: 2005-08-24 01:24:24 $
+*  @version $Revision: 1.3 $  $Name: not supported by cvs2svn $
+*  @date $Date: 2005-09-24 01:10:00 $
 *
 * Copyright 2004-2005 Maui High Performance Computing Center, Univ. of Hawaii
@@ -56,4 +56,17 @@
     psLogSetFormat("HLNM");
     psLogSetLevel(PS_LOG_INFO);
+    //
+    // We list pertinent psStats.c functions here for debugging ease.
+    //
+    psTraceSetLevel(".", 0);
+    psTraceSetLevel("p_psGetStatValue", 0);
+    psTraceSetLevel("p_psVectorMax", 0);
+    psTraceSetLevel("p_psVectorMin", 0);
+    psTraceSetLevel("p_psVectorCheckNonEmpty", 0);
+    psTraceSetLevel("p_psVectorNValues", 0);
+    psTraceSetLevel("p_psNormalizeVectorRange", 0);
+    psTraceSetLevel("psStatsAlloc", 0);
+    psTraceSetLevel("p_psConvertToF32", 0);
+    psTraceSetLevel("psVectorStats", 0);
 
     return ( ! runTestSuite(stderr, "psVectorStats", tests, argc, argv) );
Index: /trunk/psLib/test/math/tst_psStats03.c
===================================================================
--- /trunk/psLib/test/math/tst_psStats03.c	(revision 5116)
+++ /trunk/psLib/test/math/tst_psStats03.c	(revision 5117)
@@ -15,4 +15,17 @@
 {
     psLogSetFormat("HLNM");
+    //
+    // We list pertinent psStats.c functions here for debugging ease.
+    //
+    psTraceSetLevel(".", 0);
+    psTraceSetLevel("p_psGetStatValue", 0);
+    psTraceSetLevel("p_psVectorSampleMean", 0);
+    psTraceSetLevel("p_psVectorCheckNonEmpty", 0);
+    psTraceSetLevel("p_psVectorNValues", 0);
+    psTraceSetLevel("p_psVectorSampleMedian", 0);
+    psTraceSetLevel("psStatsAlloc", 0);
+    psTraceSetLevel("p_psConvertToF32", 0);
+    psTraceSetLevel("psVectorStats", 0);
+
     psStats *myStats    = NULL;
     psS32 testStatus      = true;
Index: /trunk/psLib/test/math/tst_psStats05.c
===================================================================
--- /trunk/psLib/test/math/tst_psStats05.c	(revision 5116)
+++ /trunk/psLib/test/math/tst_psStats05.c	(revision 5117)
@@ -1,5 +1,7 @@
 /*****************************************************************************
     This routine must ensure that the psStats structure is correctly
-    allocated and deallocated by the procedure psArrayStats().
+    allocated and deallocated by the procedure psStatsAlloc().
+ 
+    XXX: This should be test 00.
  *****************************************************************************/
 #include <stdio.h>
@@ -11,4 +13,10 @@
 {
     psLogSetFormat("HLNM");
+    //
+    // We list pertinent psStats.c functions here for debugging ease.
+    //
+    psTraceSetLevel(".", 0);
+    psTraceSetLevel("psStatsAlloc", 0);
+
     psStats *myStats    = NULL;
     psS32 testStatus      = true;
Index: /trunk/psLib/test/math/tst_psStats06.c
===================================================================
--- /trunk/psLib/test/math/tst_psStats06.c	(revision 5116)
+++ /trunk/psLib/test/math/tst_psStats06.c	(revision 5117)
@@ -18,4 +18,20 @@
 {
     psLogSetFormat("HLNM");
+    //
+    // We list pertinent psStats.c functions here for debugging ease.
+    //
+    psTraceSetLevel(".", 0);
+    psTraceSetLevel("p_psGetStatValue", 0);
+    psTraceSetLevel("p_psVectorSampleMean", 0);
+    psTraceSetLevel("p_psVectorMax", 0);
+    psTraceSetLevel("p_psVectorMin", 0);
+    psTraceSetLevel("p_psVectorCheckNonEmpty", 0);
+    psTraceSetLevel("p_psVectorNValues", 0);
+    psTraceSetLevel("p_psVectorSampleStdevOLD", 0);
+    psTraceSetLevel("p_psVectorSampleStdev", 0);
+    psTraceSetLevel("psStatsAlloc", 0);
+    psTraceSetLevel("p_psConvertToF32", 0);
+    psTraceSetLevel("psVectorStats", 0);
+
     psStats *myStats    = NULL;
     psS32 testStatus      = true;
Index: /trunk/psLib/test/math/tst_psStats07.c
===================================================================
--- /trunk/psLib/test/math/tst_psStats07.c	(revision 5116)
+++ /trunk/psLib/test/math/tst_psStats07.c	(revision 5117)
@@ -489,6 +489,27 @@
 {
     psLogSetFormat("HLNM");
+    //
+    // We list pertinent psStats.c functions here for debugging ease.
+    //
     psTraceSetLevel(".", 0);
     psTraceSetLevel("psGaussian", 0);
+    psTraceSetLevel("p_psGetStatValue", 0);
+    psTraceSetLevel("p_psVectorMax", 0);
+    psTraceSetLevel("p_psVectorMin", 0);
+    psTraceSetLevel("p_psVectorCheckNonEmpty", 0);
+    psTraceSetLevel("p_psNormalizeVectorRange", 0);
+    psTraceSetLevel("p_ps1DPolyMedian", 0);
+    psTraceSetLevel("fitQuadraticSearchForYThenReturnX", 0);
+    psTraceSetLevel("PsVectorDup", 0);
+    psTraceSetLevel("psMinimizeLMChi2Gauss1D", 0);
+    psTraceSetLevel("LinInterpolate", 0);
+    psTraceSetLevel("p_psVectorRobustStats", 0);
+    psTraceSetLevel("psStatsAlloc", 0);
+    psTraceSetLevel("psHistogramAlloc", 0);
+    psTraceSetLevel("psHistogramAllocGeneric", 0);
+    psTraceSetLevel("UpdateHistogramBins", 0);
+    psTraceSetLevel("psVectorHistogram", 0);
+    psTraceSetLevel("p_psConvertToF32", 0);
+    psTraceSetLevel("psVectorStats", 0);
     psBool rc0 = t00();
     psBool rc1 = t01();
@@ -500,4 +521,4 @@
     }
 
-    return(rc0 & rc1);
+    return(!(rc0 & rc1));
 }
Index: /trunk/psLib/test/math/tst_psStats08.c
===================================================================
--- /trunk/psLib/test/math/tst_psStats08.c	(revision 5116)
+++ /trunk/psLib/test/math/tst_psStats08.c	(revision 5117)
@@ -19,4 +19,19 @@
 {
     psLogSetFormat("HLNM");
+    //
+    // We list pertinent psStats.c functions here for debugging ease.
+    //
+    psTraceSetLevel(".", 0);
+    psTraceSetLevel("p_psGetStatValue", 0);
+    psTraceSetLevel("p_psVectorMax", 0);
+    psTraceSetLevel("p_psVectorMin", 0);
+    psTraceSetLevel("p_psVectorCheckNonEmpty", 0);
+    psTraceSetLevel("p_psVectorNValues", 0);
+    psTraceSetLevel("p_psVectorSampleQuartiles", 0);
+    psTraceSetLevel("psStatsAlloc", 0);
+    psTraceSetLevel("p_psConvertToF32", 0);
+    psTraceSetLevel("psVectorStats", 0);
+
+
     psStats *myStats    = NULL;
     psS32 testStatus      = true;
Index: /trunk/psLib/test/math/tst_psStats09.c
===================================================================
--- /trunk/psLib/test/math/tst_psStats09.c	(revision 5116)
+++ /trunk/psLib/test/math/tst_psStats09.c	(revision 5117)
@@ -22,4 +22,20 @@
 {
     psLogSetFormat("HLNM");
+    //
+    // We list pertinent psStats.c functions here for debugging ease.
+    //
+    psTraceSetLevel(".", 0);
+    psTraceSetLevel("p_psGetStatValue", 0);
+    psTraceSetLevel("p_psVectorSampleMean", 0);
+    psTraceSetLevel("p_psVectorMax", 0);
+    psTraceSetLevel("p_psVectorMin", 0);
+    psTraceSetLevel("p_psVectorCheckNonEmpty", 0);
+    psTraceSetLevel("p_psVectorNValues", 0);
+    psTraceSetLevel("p_psVectorClippedStats", 0);
+    psTraceSetLevel("p_psNormalizeVectorRange", 0);
+    psTraceSetLevel("psStatsAlloc", 0);
+    psTraceSetLevel("p_psConvertToF32", 0);
+    psTraceSetLevel("psVectorStats", 0);
+
     psStats *myStats    = NULL;
     psS32 testStatus      = true;
Index: /trunk/psLib/test/math/verified/tst_psStats07.stderr
===================================================================
--- /trunk/psLib/test/math/verified/tst_psStats07.stderr	(revision 5116)
+++ /trunk/psLib/test/math/verified/tst_psStats07.stderr	(revision 5117)
@@ -1,8 +1,0 @@
-<DATE><TIME>|<HOST>|W|p_psVectorRobustStats
-    WARNING: the fitted Gaussian has more than 10% error for the stdev.
-<DATE><TIME>|<HOST>|W|p_psVectorRobustStats
-    WARNING: Using the calculated stdev instead of Gaussian-fitted stdev.
-<DATE><TIME>|<HOST>|W|p_psVectorRobustStats
-    WARNING: the fitted Gaussian has more than 10% error for the stdev.
-<DATE><TIME>|<HOST>|W|p_psVectorRobustStats
-    WARNING: Using the calculated stdev instead of Gaussian-fitted stdev.
