IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 31023


Ignore:
Timestamp:
Mar 23, 2011, 10:21:31 AM (15 years ago)
Author:
eugene
Message:

negative norm window values are really bad

File:
1 edited

Legend:

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

    r30739 r31023  
    926926
    927927    // this is an unrecoverable error : something really bogus in the data
    928     if (stamps->normWindow1 == 0) {
     928    if (stamps->normWindow1 <= 0) {
    929929        psError(PM_ERR_STAMPS, true, "Unable to determine normalisation window size (1).");
    930930        psFree (stats);
     
    935935        return false;
    936936    }
    937     if (stamps->normWindow2 == 0) {
     937    if (stamps->normWindow2 <= 0) {
    938938        psError(PM_ERR_STAMPS, true, "Unable to determine normalisation window size (2).");
    939939        psFree (stats);
Note: See TracChangeset for help on using the changeset viewer.