IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 12647


Ignore:
Timestamp:
Mar 28, 2007, 12:48:57 PM (19 years ago)
Author:
Paul Price
Message:

Adding more detail to error message.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/detrend/pmBias.c

    r11687 r12647  
    7979
    8080    if ((inImage->numCols + x0in - x0sub) > subImage->numCols) {
    81         psError(PS_ERR_UNKNOWN, true, "Image does not have enough columns for subtraction.\n");
     81        psError(PS_ERR_UNKNOWN, true, "Image does not have enough columns for subtraction (%d vs %d).\n",
     82                inImage->numCols + x0in - x0sub, subImage->numCols);
    8283        return false;
    8384    }
    8485    if ((inImage->numRows + y0in - y0sub) > subImage->numRows) {
    85         psError(PS_ERR_UNKNOWN, true, "Image does not have enough rows for subtraction.\n");
     86        psError(PS_ERR_UNKNOWN, true, "Image does not have enough rows for subtraction (%d vs %d).\n",
     87                inImage->numRows + y0in - y0sub, subImage->numRows);
    8688        return false;
    8789    }
Note: See TracChangeset for help on using the changeset viewer.