IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 1116


Ignore:
Timestamp:
Jun 28, 2004, 4:19:48 PM (22 years ago)
Author:
harman
Message:

Removed element overcount

Location:
trunk/psLib/test/collections
Files:
2 edited

Legend:

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

    r1073 r1116  
    1414 *  @author  Ross Harman, MHPCC
    1515 *
    16  *  @version $Revision: 1.8 $  $Name: not supported by cvs2svn $
    17  *  @date  $Date: 2004-06-23 23:00:15 $
     16 *  @version $Revision: 1.9 $  $Name: not supported by cvs2svn $
     17 *  @date  $Date: 2004-06-29 02:18:18 $
    1818 *
    1919 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    4343    for(int i = 0; i < 5; i++) {
    4444        psVec->data.S32[i] = i*10;
    45         psVec->n++;
    4645        printf("Elem %d = %d\n", i, psVec->data.S32[i]);
    4746    }
  • trunk/psLib/test/collections/tst_psVector_03.c

    r1073 r1116  
    1212 *  @author  Ross Harman, MHPCC
    1313 *
    14  *  @version $Revision: 1.5 $  $Name: not supported by cvs2svn $
    15  *  @date  $Date: 2004-06-23 23:00:15 $
     14 *  @version $Revision: 1.6 $  $Name: not supported by cvs2svn $
     15 *  @date  $Date: 2004-06-29 02:19:48 $
    1616 *
    1717 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    5252        mySt[i] = ts;
    5353        psVec->data.PTR[i] = ts;
    54         psVec->n++;
    5554    }
    5655
Note: See TracChangeset for help on using the changeset viewer.