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/psMinimizeLMM.c

    r9538 r9540  
    1010 *  @author EAM, IfA
    1111 *
    12  *  @version $Revision: 1.21 $ $Name: not supported by cvs2svn $
    13  *  @date $Date: 2006-10-13 21:13:48 $
     12 *  @version $Revision: 1.22 $ $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
     
    409409    }
    410410    // dump some useful info if trace is defined
    411     if (psTraceGetLevel(__func__) >= 6) {
     411    if (psTraceGetLevel("psLib.math") >= 6) {
    412412        p_psImagePrint(psTraceGetDestination(), alpha, "alpha guess (0)");
    413413        p_psVectorPrint(psTraceGetDestination(), beta, "beta guess (0)");
     
    438438
    439439        // dump some useful info if trace is defined
    440         if (psTraceGetLevel(__func__) >= 6) {
     440        if (psTraceGetLevel("psLib.math") >= 6) {
    441441            p_psImagePrint(psTraceGetDestination(), Alpha, "alpha guess (1)");
    442442            p_psVectorPrint(psTraceGetDestination(), Beta, "beta guess (1)");
    443443            p_psVectorPrint(psTraceGetDestination(), Params, "params guess (1)");
    444444        }
    445         if (psTraceGetLevel(__func__) >= 6) {
     445        if (psTraceGetLevel("psLib.math") >= 6) {
    446446            if (psTraceGetLevel (__func__) >= 6) {
    447447                psTrace("psLib.math", 6, "The current Param vector: \n");
     
    470470
    471471        // dump some useful info if trace is defined
    472         if (psTraceGetLevel(__func__) >= 6) {
     472        if (psTraceGetLevel("psLib.math") >= 6) {
    473473            p_psImagePrint(psTraceGetDestination(), Alpha, "alpha guess (2)");
    474474            p_psVectorPrint(psTraceGetDestination(), Beta, "beta guess (2)");
Note: See TracChangeset for help on using the changeset viewer.