IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 26770


Ignore:
Timestamp:
Feb 4, 2010, 6:25:34 PM (16 years ago)
Author:
Paul Price
Message:

Want the minimum sample size.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/20091201/psModules/src/camera/pmFPAMaskWeight.c

    r26742 r26770  
    399399
    400400    int numPix = xNum * yNum;                                  // Number of pixels
    401     int num = PS_MAX(sample, numPix);                          // Number we care about
     401    int num = PS_MIN(sample, numPix);                          // Number we care about
    402402    psVector *signoise = psVectorAllocEmpty(num, PS_TYPE_F32);   // Signal-to-noise values
    403403
Note: See TracChangeset for help on using the changeset viewer.