IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 23, 2004, 1:33:54 PM (22 years ago)
Author:
harman
Message:

Corrected minor problems from tests

File:
1 edited

Legend:

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

    r1853 r1870  
    1919 *  @author Ross Harman, MHPCC
    2020 *
    21  *  @version $Revision: 1.3 $ $Name: not supported by cvs2svn $
    22  *  @date $Date: 2004-09-23 01:33:02 $
     21 *  @version $Revision: 1.4 $ $Name: not supported by cvs2svn $
     22 *  @date $Date: 2004-09-23 23:33:54 $
    2323 *
    2424 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    3131#include<stdio.h>
    3232#include<math.h>
     33#include<string.h>
    3334
    3435#include "pmMaskBadPixels.h"
     
    7071                   PS_ERRORTEXT_pmMaskBadPixels_NULL_INPUT_IMAGE);
    7172        return false;
    72     } else if(inMask == NULL) {
     73    } else if(in->mask == NULL) {
    7374        in->mask = psImageAlloc(inImage->numCols, inImage->numRows, PS_TYPE_MASK);
     75        memset(in->mask->data.V[0], 0, inImage->numCols*inImage->numRows*PSELEMTYPE_SIZEOF(PS_TYPE_MASK));
    7476    }
    7577    inMask = in->mask;
Note: See TracChangeset for help on using the changeset viewer.