IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 26, 2004, 2:57:34 PM (22 years ago)
Author:
desonia
Message:

converted native C types to ps Types, where practical.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/dataManip/tst_psMinimize06.c

    r2202 r2204  
    1212#define NUM_PARAMS 3
    1313float expectedParm[NUM_PARAMS];
    14 int testStatus = true;
     14psS32 testStatus = true;
    1515
    1616/*****************************************************************************
     
    2929{
    3030    psVector *sum = psVectorAlloc(myCoords->n, PS_TYPE_F32);
    31     int i;
    32     int j;
     31    psS32 i;
     32    psS32 j;
    3333
    3434
     
    5252}
    5353
    54 int t01()
     54psS32 t01()
    5555{
    56     int currentId = psMemGetId();
    57     int memLeaks = 0;
    58     int i = 0;
     56    psS32 currentId = psMemGetId();
     57    psS32 memLeaks = 0;
     58    psS32 i = 0;
    5959    psArray *myCoords;
    6060    psVector *myParams;
     
    7373
    7474    for (i=0;i<N;i++) {
    75         myCoords->data[i] = (psPTR *) psVectorAlloc(2, PS_TYPE_F32);
     75        myCoords->data[i] = (psPtr *) psVectorAlloc(2, PS_TYPE_F32);
    7676        ((psVector *) (myCoords->data[i]))->data.F32[0] = (float) (i+10);
    7777        ((psVector *) (myCoords->data[i]))->data.F32[1] = (float) (i+3);
     
    115115}
    116116
    117 int main()
     117psS32 main()
    118118{
    119119    t01();
Note: See TracChangeset for help on using the changeset viewer.