Changeset 6484 for trunk/psLib/src/mathtypes
- Timestamp:
- Feb 24, 2006, 1:43:16 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/mathtypes/psVector.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/mathtypes/psVector.c
r6227 r6484 9 9 * @author Robert DeSonia, MHPCC 10 10 * 11 * @version $Revision: 1.6 4$ $Name: not supported by cvs2svn $12 * @date $Date: 2006-0 1-28 01:12:14$11 * @version $Revision: 1.65 $ $Name: not supported by cvs2svn $ 12 * @date $Date: 2006-02-24 23:43:15 $ 13 13 * 14 14 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 88 88 psVec->type.type = type; 89 89 P_PSVECTOR_SET_NALLOC(psVec,nalloc); 90 psVec->n = nalloc; 90 // psVec->n = nalloc; 91 psVec->n = 0; 91 92 92 93 // Create vector data array … … 205 206 206 207 output = psVectorRecycle(output, nElements, type); 208 output->n = nElements; 207 209 208 210 #define PSVECTOR_COPY(INTYPE,OUTTYPE) { \ … … 754 756 int nBin = (upper - lower) / delta; \ 755 757 psVector *vec = psVectorRecycle(input, nBin, PS_TYPE_##TYPE); \ 758 vec->n = nBin; \ 756 759 for (int i = 0; i < nBin; i++) \ 757 760 { \
Note:
See TracChangeset
for help on using the changeset viewer.
