IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 5, 2005, 11:53:03 AM (21 years ago)
Author:
gusciora
Message:

...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/dataManip/psStats.c

    r3374 r3377  
    99 *  @author GLG, MHPCC
    1010 *
    11  *  @version $Revision: 1.118 $ $Name: not supported by cvs2svn $
    12  *  @date $Date: 2005-03-04 20:51:20 $
     11 *  @version $Revision: 1.119 $ $Name: not supported by cvs2svn $
     12 *  @date $Date: 2005-03-05 21:53:03 $
    1313 *
    1414 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    10421042    // However, we do no want to modify the original mask vector.
    10431043    tmpMask = psVectorAlloc(myVector->n, PS_TYPE_U8);
    1044     PS_VECTOR_SET_U8(tmpMask, 0);
    10451044
    10461045    // If we were called with a mask vector, then initialize the temporary
    1047     // mask vector with those values.
     1046    // mask vector with those values.  Otherwise, initialize to zero.
    10481047    if (maskVector != NULL) {
    10491048        for (psS32 i = 0; i < tmpMask->n; i++) {
    10501049            tmpMask->data.U8[i] = maskVector->data.U8[i];
     1050        }
     1051    } else {
     1052        for (psS32 i = 0; i < tmpMask->n; i++) {
     1053            tmpMask->data.U8[i] = 0;
    10511054        }
    10521055    }
Note: See TracChangeset for help on using the changeset viewer.