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/astro/psCoord.c

    r9538 r9540  
    1010*  @author GLG, MHPCC
    1111*
    12 *  @version $Revision: 1.124 $ $Name: not supported by cvs2svn $
    13 *  @date $Date: 2006-10-13 21:13:47 $
     12*  @version $Revision: 1.125 $ $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
     
    612612{
    613613    psTrace("psLib.astro", 3, "---- %s() begin ----\n", __func__);
    614     psTrace("psLib.astro", 3, "tracelevel(%s) is %d\n", __func__, psTraceGetLevel(__func__));
     614    psTrace("psLib.astro", 3, "tracelevel(%s) is %d\n", __func__, psTraceGetLevel("psLib.astro"));
    615615
    616616    PS_ASSERT_PTR_NON_NULL(trans1, NULL);
     
    620620    psTrace("psLib.astro", 5, "trans2->x is (%d, %d) order.\n", trans2->x->nX, trans2->x->nY);
    621621    psTrace("psLib.astro", 5, "trans2->y is (%d, %d) order.\n", trans2->y->nX, trans2->y->nY);
    622     if (psTraceGetLevel(__func__) >= 6) {
     622    if (psTraceGetLevel("psLib.astro") >= 6) {
    623623        PS_POLY_PRINT_2D(trans1->x);
    624624        PS_POLY_PRINT_2D(trans1->y);
     
    703703                psPolynomial2D *newPoly = multiplyDPoly2D(trans1XPolys[t2x], trans1YPolys[t2y]);
    704704
    705                 if (psTraceGetLevel(__func__) >= 6) {
     705                if (psTraceGetLevel("psLib.astro") >= 6) {
    706706                    PS_POLY_PRINT_2D(newPoly);
    707707                }
     
    714714                }
    715715
    716                 if (psTraceGetLevel(__func__) >= 6) {
     716                if (psTraceGetLevel("psLib.astro") >= 6) {
    717717                    PS_POLY_PRINT_2D(myPT->x);
    718718                }
     
    721721        }
    722722    }
    723     if (psTraceGetLevel(__func__) >= 6) {
     723    if (psTraceGetLevel("psLib.astro") >= 6) {
    724724        psTrace("psLib.astro", 6, "The final x-polynomial\n");
    725725        PS_POLY_PRINT_2D(myPT->x);
     
    737737                psPolynomial2D *newPoly = multiplyDPoly2D(trans1XPolys[t2x], trans1YPolys[t2y]);
    738738
    739                 if (psTraceGetLevel(__func__) >= 6) {
     739                if (psTraceGetLevel("psLib.astro") >= 6) {
    740740                    PS_POLY_PRINT_2D(newPoly);
    741741                }
     
    747747                    }
    748748                }
    749                 if (psTraceGetLevel(__func__) >= 6) {
     749                if (psTraceGetLevel("psLib.astro") >= 6) {
    750750                    PS_POLY_PRINT_2D(myPT->x);
    751751                }
     
    754754        }
    755755    }
    756     if (psTraceGetLevel(__func__) >= 6) {
     756    if (psTraceGetLevel("psLib.astro") >= 6) {
    757757        psTrace("psLib.astro", 6, "The final y-polynomial\n");
    758758        PS_POLY_PRINT_2D(myPT->y);
Note: See TracChangeset for help on using the changeset viewer.