IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 13, 2006, 12:14:07 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/ppMerge/src/ppMergeScaleZero.c

    r9463 r9541  
    280280    if (options->scale) {
    281281        // Need to normalize over the focal plane
    282         if (psTraceGetLevel(__func__) > 9) {
     282        if (psTraceGetLevel("ppMerge") > 9) {
    283283            for (int i = 0; i < gains->n; i++) {
    284284                psTrace(__func__, 10, "Gain for cell %d is %f\n", i, gains->data.F32[i]);
     
    321321
    322322    // Diagnostic stuff
    323     if (scales && *scales && psTraceGetLevel(__func__) > 9) {
     323    if (scales && *scales && psTraceGetLevel("ppMerge") > 9) {
    324324        psImage *scalesDeref = *scales; // Dereference the pointer
    325325        for (int i = 0; i < scalesDeref->numRows; i++) {
     
    330330        }
    331331    }
    332     if (zeros && *zeros && psTraceGetLevel(__func__) > 9) {
     332    if (zeros && *zeros && psTraceGetLevel("ppMerge") > 9) {
    333333        psImage *zerosDeref = *zeros; // Dereference the pointer
    334334        for (int i = 0; i < zerosDeref->numRows; i++) {
Note: See TracChangeset for help on using the changeset viewer.