IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 3, 2006, 3:01:34 PM (20 years ago)
Author:
drobbin
Message:

Updated files to reflect psArray, psVector, & psPixels changes in psLib that set n=0 upon allocation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/test/objects/tst_pmObjects01.c

    r6326 r6511  
    3131    most of psObjects.c is not tested
    3232 *
    33  *  @version $Revision: 1.7 $ $Name: not supported by cvs2svn $
    34  *  @date $Date: 2006-02-06 21:23:46 $
     33 *  @version $Revision: 1.8 $ $Name: not supported by cvs2svn $
     34 *  @date $Date: 2006-03-04 01:01:34 $
    3535 *
    3636 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    234234    bool testStatus = true;
    235235    psVector *inData = psVectorAlloc(n, PS_TYPE_F32);
     236    inData->n = inData->nalloc;
    236237    psVector *outData = NULL;
    237238
     
    401402    psVector *tmpVecF64 = psVectorAlloc(TST01_VECTOR_LENGTH, PS_TYPE_F64);
    402403    psVector *tmpVecEmpty = psVectorAlloc(0, PS_TYPE_F32);
     404    tmpVecF64->n = tmpVecF64->nalloc;
     405    tmpVecEmpty->n = tmpVecEmpty->nalloc;
    403406
    404407    psTraceSetLevel(".", 0);
Note: See TracChangeset for help on using the changeset viewer.