Changeset 6445 for trunk/psLib/src/types
- Timestamp:
- Feb 16, 2006, 5:24:47 PM (20 years ago)
- Location:
- trunk/psLib/src/types
- Files:
-
- 2 edited
-
psArray.c (modified) (4 diffs)
-
psLookupTable.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/types/psArray.c
r5530 r6445 9 9 * @author Ross Harman, MHPCC 10 10 * 11 * @version $Revision: 1.4 0$ $Name: not supported by cvs2svn $12 * @date $Date: 200 5-11-16 23:06:35$11 * @version $Revision: 1.41 $ $Name: not supported by cvs2svn $ 12 * @date $Date: 2006-02-17 03:24:46 $ 13 13 * 14 14 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 64 64 65 65 P_PSARRAY_SET_NALLOC(psArr,nalloc); 66 psArr->n = nalloc;67 66 psArr->n = 0; 67 // psArr->n = nalloc; 68 68 // Create vector data array 69 69 psArr->data = psAlloc(nalloc * sizeof(psPtr)); … … 169 169 } 170 170 171 // /Set an element in the array.171 // Set an element in the array. 172 172 bool psArraySet(psArray* array, ///< input array to set element in 173 173 long position, ///< the element position to set … … 213 213 } 214 214 215 // /Get an element in the array.215 // Get an element in the array. 216 216 psPtr psArrayGet(const psArray* array, 217 217 long position ) -
trunk/psLib/src/types/psLookupTable.c
r6204 r6445 7 7 * @author Ross Harman, MHPCC 8 8 * 9 * @version $Revision: 1.2 8$ $Name: not supported by cvs2svn $10 * @date $Date: 2006-0 1-26 21:10:22$9 * @version $Revision: 1.29 $ $Name: not supported by cvs2svn $ 10 * @date $Date: 2006-02-17 03:24:46 $ 11 11 * 12 12 * Copyright 2004-2005 Maui High Performance Computing Center, Univ. of Hawaii … … 615 615 psS32 type = ((psVector*)(vectors->data[j]))->type.type; 616 616 newValueArray->data[j] = psVectorAlloc(numRows,type); 617 newValueArray->n++; 617 618 } 618 619
Note:
See TracChangeset
for help on using the changeset viewer.
