Index: trunk/psLib/src/math/psMinimizePolyFit.c
===================================================================
--- trunk/psLib/src/math/psMinimizePolyFit.c	(revision 8627)
+++ trunk/psLib/src/math/psMinimizePolyFit.c	(revision 9540)
@@ -10,6 +10,6 @@
  *  @author EAM, IfA
  *
- *  @version $Revision: 1.20 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2006-08-26 04:34:28 $
+ *  @version $Revision: 1.21 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2006-10-13 22:04:58 $
  *
  *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -397,5 +397,5 @@
     psFree(sums);
 
-    if (psTraceGetLevel(__func__) >= 6) {
+    if (psTraceGetLevel("psLib.math") >= 6) {
         PS_IMAGE_PRINT_F64(A);
         PS_VECTOR_PRINT_F64(B);
@@ -487,5 +487,5 @@
     }
 
-    if (psTraceGetLevel(__func__) >= 6) {
+    if (psTraceGetLevel("psLib.math") >= 6) {
         psTrace("psLib.math", 6, "VectorFitPolynomial1D()\n");
         for (psS32 i = 0; i < f->n; i++) {
@@ -579,5 +579,5 @@
     psFree(xSums);
 
-    if (psTraceGetLevel(__func__) >= 4) {
+    if (psTraceGetLevel("psLib.math") >= 4) {
         printf("Least-squares vector:\n");
         for (int i = 0; i < nTerm; i++) {
@@ -818,5 +818,5 @@
         psTrace("psLib.math", 6, "Loop iteration %d.  Calling psVectorFitPolynomial1D()\n", N);
         psS32 Nkeep = 0;
-        if (psTraceGetLevel(__func__) >= 6) {
+        if (psTraceGetLevel("psLib.math") >= 6) {
             if (mask != NULL) {
                 for (psS32 i = 0 ; i < mask->n ; i++) {
@@ -847,5 +847,5 @@
             }
         }
-        if (psTraceGetLevel(__func__) >= 6) {
+        if (psTraceGetLevel("psLib.math") >= 6) {
             if (mask != NULL) {
                 for (psS32 i = 0 ; i < mask->n ; i++) {
@@ -1252,5 +1252,5 @@
         psTrace("psLib.math", 6, "Loop iteration %d.  Calling psVectorFitPolynomial1D()\n", N);
         psS32 Nkeep = 0;
-        if (psTraceGetLevel(__func__) >= 6) {
+        if (psTraceGetLevel("psLib.math") >= 6) {
             if (mask != NULL) {
                 for (psS32 i = 0 ; i < mask->n ; i++) {
@@ -1282,5 +1282,5 @@
         }
 
-        if (psTraceGetLevel(__func__) >= 6) {
+        if (psTraceGetLevel("psLib.math") >= 6) {
             if (mask != NULL) {
                 for (psS32 i = 0 ; i < mask->n ; i++) {
@@ -1772,5 +1772,5 @@
         psTrace("psLib.math", 6, "Loop iteration %d.  Calling psVectorFitPolynomial1D()\n", N);
         psS32 Nkeep = 0;
-        if (psTraceGetLevel(__func__) >= 6) {
+        if (psTraceGetLevel("psLib.math") >= 6) {
             if (mask != NULL) {
                 for (psS32 i = 0 ; i < mask->n ; i++) {
@@ -1801,5 +1801,5 @@
         }
 
-        if (psTraceGetLevel(__func__) >= 6) {
+        if (psTraceGetLevel("psLib.math") >= 6) {
             if (mask != NULL) {
                 for (psS32 i = 0 ; i < mask->n ; i++) {
@@ -2340,5 +2340,5 @@
         psTrace("psLib.math", 6, "Loop iteration %d.  Calling psVectorFitPolynomial4D()\n", N);
         psS32 Nkeep = 0;
-        if (psTraceGetLevel(__func__) >= 6) {
+        if (psTraceGetLevel("psLib.math") >= 6) {
             if (mask != NULL) {
                 for (psS32 i = 0 ; i < mask->n ; i++) {
@@ -2370,5 +2370,5 @@
         }
 
-        if (psTraceGetLevel(__func__) >= 6) {
+        if (psTraceGetLevel("psLib.math") >= 6) {
             if (mask != NULL) {
                 for (psS32 i = 0 ; i < mask->n ; i++) {
