IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 2, 2004, 1:29:39 PM (22 years ago)
Author:
harman
Message:

Changed psVector to be consistent with psImage

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/collections/tst_psSort_03.c

    r717 r831  
    1010 *  @author  Ross Harman, MHPCC
    1111 *
    12  *  @version $Revision: 1.4 $  $Name: not supported by cvs2svn $
    13  *  @date  $Date: 2004-05-18 19:22:34 $
     12 *  @version $Revision: 1.5 $  $Name: not supported by cvs2svn $
     13 *  @date  $Date: 2004-06-02 23:29:29 $
    1414 *
    1515 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    2929    // Test A - Create float vectors
    3030    printPositiveTestHeader(stdout,"psSort", "Create float vectors of different sizes");
    31     in = psVectorAlloc(PS_TYPE_FLOAT, 5);
     31    in = psVectorAlloc(5, PS_TYPE_F32);
    3232    in->n = 5;
    33     out = psVectorAlloc(PS_TYPE_FLOAT, 6);
     33    out = psVectorAlloc(6, PS_TYPE_F32);
    3434    out->n = 6;
    3535    in->n = 5;
    3636    for(int i=0; i<5; i++) {
    37         printf("arr[%d] = %f\n", i, in->vec.f[i]);
     37        printf("arr[%d] = %f\n", i, in->data.F32[i]);
    3838    }
    3939    printFooter(stdout, "psSort", "Create float vectors of different sizes", true);
Note: See TracChangeset for help on using the changeset viewer.