IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 1, 2005, 10:37:39 AM (21 years ago)
Author:
evanalst
Message:

Fixed resample test to pass on PPC platform.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/image/tst_psImageGeomManip.c

    r3973 r4069  
    66 *  @author Robert DeSonia, MHPCC
    77 *
    8  *  @version $Revision: 1.1 $ $Name: not supported by cvs2svn $
    9  *  @date $Date: 2005-05-19 02:49:40 $
     8 *  @version $Revision: 1.2 $ $Name: not supported by cvs2svn $
     9 *  @date $Date: 2005-06-01 20:37:39 $
    1010 *
    1111 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    10291029    psErrorClear();
    10301030    psImage* invImage = psImageAlloc(cols,rows,PS_TYPE_BOOL);
    1031     memset(invImage->rawDataBuffer,0,cols*rows*sizeof(psBool)); // make sure the image is of all NULLs
     1031    memset(invImage->rawDataBuffer,0,cols*rows*PSELEMTYPE_SIZEOF(PS_TYPE_BOOL)); // make sure the image is of all NULLs
    10321032    result = psImageResample(result,invImage,2,PS_INTERPOLATE_FLAT);
    10331033    if (result != NULL) {
Note: See TracChangeset for help on using the changeset viewer.