Index: trunk/psLib/src/math/psStats.c
===================================================================
--- trunk/psLib/src/math/psStats.c	(revision 9538)
+++ trunk/psLib/src/math/psStats.c	(revision 9540)
@@ -16,6 +16,6 @@
  * use ->min and ->max (PS_STAT_USE_RANGE)
  *
- *  @version $Revision: 1.186 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2006-10-13 21:13:48 $
+ *  @version $Revision: 1.187 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2006-10-13 22:04:58 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -480,5 +480,5 @@
     PS_ASSERT_PTR_NON_NULL(histogram->bounds, NULL);
     PS_ASSERT_PTR_NON_NULL(histogram->nums, NULL);
-    if (psTraceGetLevel(__func__) >= 8) {
+    if (psTraceGetLevel("psLib.math") >= 8) {
         PS_VECTOR_PRINT_F32(histogram->nums);
     }
@@ -561,5 +561,5 @@
     }
 
-    if (psTraceGetLevel(__func__) >= 8) {
+    if (psTraceGetLevel("psLib.math") >= 8) {
         PS_VECTOR_PRINT_F32(smooth);
     }
@@ -705,5 +705,5 @@
 {
     psTrace("psLib.math", 4, "---- %s() begin ----\n", __func__);
-    psTrace("psLib.math", 4, "Trace level is %d\n", psTraceGetLevel(__func__));
+    psTrace("psLib.math", 4, "Trace level is %d\n", psTraceGetLevel("psLib.math"));
 
     // Ensure that stats->clipIter is within the proper range.
@@ -886,5 +886,5 @@
     psTrace("psLib.math", 4, "---- %s() begin ----\n", __func__);
     psTrace("psLib.math", 5, "binNum, yVal is (%d, %f)\n", binNum, yVal);
-    if (psTraceGetLevel(__func__) >= 8) {
+    if (psTraceGetLevel("psLib.math") >= 8) {
         PS_VECTOR_PRINT_F32(xVec);
         PS_VECTOR_PRINT_F32(yVec);
@@ -1058,5 +1058,5 @@
 {
     psTrace("psLib.math", 4, "---- %s() begin ----\n", __func__);
-    if (psTraceGetLevel(__func__) >= 8) {
+    if (psTraceGetLevel("psLib.math") >= 8) {
         PS_VECTOR_PRINT_F32(myVector);
     }
@@ -1141,5 +1141,5 @@
         histogram = psHistogramAlloc(min, max, numBins);
         histogram = psVectorHistogram(histogram, myVector, errors, mask, maskVal);
-        if (psTraceGetLevel(__func__) >= 8) {
+        if (psTraceGetLevel("psLib.math") >= 8) {
             PS_VECTOR_PRINT_F32(histogram->bounds);
             PS_VECTOR_PRINT_F32(histogram->nums);
@@ -1152,5 +1152,5 @@
             cumulative->nums->data.F32[i] = cumulative->nums->data.F32[i-1] + histogram->nums->data.F32[i];
         }
-        if (psTraceGetLevel(__func__) >= 8) {
+        if (psTraceGetLevel("psLib.math") >= 8) {
             PS_VECTOR_PRINT_F32(cumulative->bounds);
             PS_VECTOR_PRINT_F32(cumulative->nums);
@@ -1417,5 +1417,5 @@
         psHistogram *histogram = psHistogramAlloc(min, max, numBins); // A new histogram (without outliers)
         histogram = psVectorHistogram(histogram, myVector, errors, mask, maskVal);
-        if (psTraceGetLevel(__func__) >= 8) {
+        if (psTraceGetLevel("psLib.math") >= 8) {
             PS_VECTOR_PRINT_F32(histogram->nums);
         }
@@ -1423,5 +1423,5 @@
         // Smooth the resulting histogram with a Gaussian with sigma_s = 1 bin.
         psVector *smoothed = vectorSmoothHistGaussian(histogram, newBinSize); // Smoothed histogram
-        if (psTraceGetLevel(__func__) >= 8) {
+        if (psTraceGetLevel("psLib.math") >= 8) {
             PS_VECTOR_PRINT_F32(smoothed);
         }
@@ -1496,5 +1496,5 @@
             x->data[j] = ordinate;
         }
-        if (psTraceGetLevel(__func__) >= 8) {
+        if (psTraceGetLevel("psLib.math") >= 8) {
             // XXX: Print the x array somehow.
             PS_VECTOR_PRINT_F32(y);
@@ -1525,5 +1525,5 @@
         params->data.F32[0] = stats->robustMedian;
         params->data.F32[1] = sigma;
-        if (psTraceGetLevel(__func__) >= 8) {
+        if (psTraceGetLevel("psLib.math") >= 8) {
             PS_VECTOR_PRINT_F32(params);
             PS_VECTOR_PRINT_F32(y);
@@ -1540,5 +1540,5 @@
             return false;
         }
-        if (psTraceGetLevel(__func__) >= 8) {
+        if (psTraceGetLevel("psLib.math") >= 8) {
             PS_VECTOR_PRINT_F32(params);
         }
