IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 31055


Ignore:
Timestamp:
Mar 25, 2011, 9:43:04 AM (15 years ago)
Author:
eugene
Message:

negative norm window is bad (from trunk)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tags/ipp-20110218/psModules/src/imcombine/pmSubtractionStamps.c

    r30741 r31055  
    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.