IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 15319


Ignore:
Timestamp:
Oct 16, 2007, 11:38:24 AM (19 years ago)
Author:
Paul Price
Message:

Print the fraction as well.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/imcombine/pmSubtraction.c

    r15305 r15319  
    44 *  @author GLG, MHPCC
    55 *
    6  *  @version $Revision: 1.63 $ $Name: not supported by cvs2svn $
    7  *  @date $Date: 2007-10-12 23:00:36 $
     6 *  @version $Revision: 1.64 $ $Name: not supported by cvs2svn $
     7 *  @date $Date: 2007-10-16 21:38:24 $
    88 *
    99 *  Copyright 2004-2007 Institute for Astronomy, University of Hawaii
     
    501501        }
    502502        if (numBad > badFrac * numCols * numRows) {
    503             psError(PS_ERR_BAD_PARAMETER_VALUE, true, "Fraction of bad pixels (%d/%d) exceeds limit (%f)\n",
    504                     numBad, numCols * numRows, badFrac);
     503            psError(PS_ERR_BAD_PARAMETER_VALUE, true,
     504                    "Fraction of bad pixels (%d/%d=%f) exceeds limit (%f)\n",
     505                    numBad, numCols * numRows, (float)numBad/(float)(numCols * numRows), badFrac);
    505506            return NULL;
    506507        }
Note: See TracChangeset for help on using the changeset viewer.