IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 30, 2011, 9:42:02 AM (15 years ago)
Author:
eugene
Message:

merging changes from trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20110213/psModules/src/imcombine/pmSubtractionStamps.c

    r30813 r31091  
    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.