Changeset 3476 for trunk/psLib/src/fft/psVectorFFT.c
- Timestamp:
- Mar 22, 2005, 11:52:49 AM (21 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/fft/psVectorFFT.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/fft/psVectorFFT.c
r3264 r3476 5 5 * @author Robert DeSonia, MHPCC 6 6 * 7 * @version $Revision: 1.3 0$ $Name: not supported by cvs2svn $8 * @date $Date: 2005-0 2-17 19:26:23$7 * @version $Revision: 1.31 $ $Name: not supported by cvs2svn $ 8 * @date $Date: 2005-03-22 21:52:49 $ 9 9 * 10 10 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 87 87 } 88 88 out->type.type = PS_TYPE_F32; 89 out->data. V = psRealloc(out->data.V,PSELEMTYPE_SIZEOF(PS_TYPE_F32)*out->nalloc);89 out->data.U8 = psRealloc(out->data.U8,PSELEMTYPE_SIZEOF(PS_TYPE_F32)*out->nalloc); 90 90 } 91 91 … … 113 113 out = psVectorRecycle(out, numElements, type); 114 114 out->n = numElements; 115 memcpy(out->data. V, in->data.V, numElements * PSELEMTYPE_SIZEOF(type));115 memcpy(out->data.U8, in->data.U8, numElements * PSELEMTYPE_SIZEOF(type)); 116 116 return out; 117 117 } … … 172 172 out = psVectorRecycle(out, numElements, type); 173 173 out->n = numElements; 174 memset(out->data. V, 0, PSELEMTYPE_SIZEOF(type) * numElements);174 memset(out->data.U8, 0, PSELEMTYPE_SIZEOF(type) * numElements); 175 175 return out; 176 176 } … … 298 298 out = psVectorRecycle(out, numElements, type); 299 299 out->n = numElements; 300 memcpy(out->data. V, in->data.V, PSELEMTYPE_SIZEOF(type) * numElements);300 memcpy(out->data.U8, in->data.U8, PSELEMTYPE_SIZEOF(type) * numElements); 301 301 return out; 302 302 }
Note:
See TracChangeset
for help on using the changeset viewer.
