IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 13, 2006, 12:04:58 PM (20 years ago)
Author:
Paul Price
Message:

Fixing psTraceGetLevel to use same convention as for psTrace

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/math/psMinimizePolyFit.c

    r8627 r9540  
    1010 *  @author EAM, IfA
    1111 *
    12  *  @version $Revision: 1.20 $ $Name: not supported by cvs2svn $
    13  *  @date $Date: 2006-08-26 04:34:28 $
     12 *  @version $Revision: 1.21 $ $Name: not supported by cvs2svn $
     13 *  @date $Date: 2006-10-13 22:04:58 $
    1414 *
    1515 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    397397    psFree(sums);
    398398
    399     if (psTraceGetLevel(__func__) >= 6) {
     399    if (psTraceGetLevel("psLib.math") >= 6) {
    400400        PS_IMAGE_PRINT_F64(A);
    401401        PS_VECTOR_PRINT_F64(B);
     
    487487    }
    488488
    489     if (psTraceGetLevel(__func__) >= 6) {
     489    if (psTraceGetLevel("psLib.math") >= 6) {
    490490        psTrace("psLib.math", 6, "VectorFitPolynomial1D()\n");
    491491        for (psS32 i = 0; i < f->n; i++) {
     
    579579    psFree(xSums);
    580580
    581     if (psTraceGetLevel(__func__) >= 4) {
     581    if (psTraceGetLevel("psLib.math") >= 4) {
    582582        printf("Least-squares vector:\n");
    583583        for (int i = 0; i < nTerm; i++) {
     
    818818        psTrace("psLib.math", 6, "Loop iteration %d.  Calling psVectorFitPolynomial1D()\n", N);
    819819        psS32 Nkeep = 0;
    820         if (psTraceGetLevel(__func__) >= 6) {
     820        if (psTraceGetLevel("psLib.math") >= 6) {
    821821            if (mask != NULL) {
    822822                for (psS32 i = 0 ; i < mask->n ; i++) {
     
    847847            }
    848848        }
    849         if (psTraceGetLevel(__func__) >= 6) {
     849        if (psTraceGetLevel("psLib.math") >= 6) {
    850850            if (mask != NULL) {
    851851                for (psS32 i = 0 ; i < mask->n ; i++) {
     
    12521252        psTrace("psLib.math", 6, "Loop iteration %d.  Calling psVectorFitPolynomial1D()\n", N);
    12531253        psS32 Nkeep = 0;
    1254         if (psTraceGetLevel(__func__) >= 6) {
     1254        if (psTraceGetLevel("psLib.math") >= 6) {
    12551255            if (mask != NULL) {
    12561256                for (psS32 i = 0 ; i < mask->n ; i++) {
     
    12821282        }
    12831283
    1284         if (psTraceGetLevel(__func__) >= 6) {
     1284        if (psTraceGetLevel("psLib.math") >= 6) {
    12851285            if (mask != NULL) {
    12861286                for (psS32 i = 0 ; i < mask->n ; i++) {
     
    17721772        psTrace("psLib.math", 6, "Loop iteration %d.  Calling psVectorFitPolynomial1D()\n", N);
    17731773        psS32 Nkeep = 0;
    1774         if (psTraceGetLevel(__func__) >= 6) {
     1774        if (psTraceGetLevel("psLib.math") >= 6) {
    17751775            if (mask != NULL) {
    17761776                for (psS32 i = 0 ; i < mask->n ; i++) {
     
    18011801        }
    18021802
    1803         if (psTraceGetLevel(__func__) >= 6) {
     1803        if (psTraceGetLevel("psLib.math") >= 6) {
    18041804            if (mask != NULL) {
    18051805                for (psS32 i = 0 ; i < mask->n ; i++) {
     
    23402340        psTrace("psLib.math", 6, "Loop iteration %d.  Calling psVectorFitPolynomial4D()\n", N);
    23412341        psS32 Nkeep = 0;
    2342         if (psTraceGetLevel(__func__) >= 6) {
     2342        if (psTraceGetLevel("psLib.math") >= 6) {
    23432343            if (mask != NULL) {
    23442344                for (psS32 i = 0 ; i < mask->n ; i++) {
     
    23702370        }
    23712371
    2372         if (psTraceGetLevel(__func__) >= 6) {
     2372        if (psTraceGetLevel("psLib.math") >= 6) {
    23732373            if (mask != NULL) {
    23742374                for (psS32 i = 0 ; i < mask->n ; i++) {
Note: See TracChangeset for help on using the changeset viewer.