IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 29, 2004, 3:41:51 PM (22 years ago)
Author:
gusciora
Message:

Added more extensive tests.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/pmSubtractBias.c

    r2849 r2850  
    66 *  @author George Gusciora, MHPCC
    77 *
    8  *  @version $Revision: 1.25 $ $Name: not supported by cvs2svn $
    9  *  @date $Date: 2004-12-30 00:34:02 $
     8 *  @version $Revision: 1.26 $ $Name: not supported by cvs2svn $
     9 *  @date $Date: 2004-12-30 01:41:51 $
    1010 *
    1111 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    424424        // Re-bin the overscan vector (change its length).
    425425        //
    426         if ((nBinOrig > 0) && (nBinOrig < overscanVector->n)) {
     426        // Only if nBinOrig > 1.
     427        if ((nBinOrig > 1) && (nBinOrig < overscanVector->n)) {
    427428            numBins = 1+((overscanVector->n)/nBinOrig);
    428429            myBin = psVectorAlloc(numBins, PS_TYPE_F32);
Note: See TracChangeset for help on using the changeset viewer.