IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 14636


Ignore:
Timestamp:
Aug 23, 2007, 11:47:39 AM (19 years ago)
Author:
Paul Price
Message:

If there are no bad pixels, then 'bad' is never allocated.

File:
1 edited

Legend:

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

    r14632 r14636  
    9090
    9191    // Threshold the convolved image
    92     psPixels *bad = NULL;              // List of pixels that should be masked
     92    psPixels *bad = psPixelsAllocEmpty(PIXEL_LIST_BUFFER); // List of pixels that should be masked
    9393    for (int y = 0; y < numRows; y++) {
    9494        for (int x = 0; x < numCols; x++) {
Note: See TracChangeset for help on using the changeset viewer.