Changeset 1838 for trunk/psLib/src/math/psStats.c
- Timestamp:
- Sep 21, 2004, 9:37:12 AM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/math/psStats.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/math/psStats.c
r1823 r1838 9 9 * @author George Gusciora, MHPCC 10 10 * 11 * @version $Revision: 1.5 5$ $Name: not supported by cvs2svn $12 * @date $Date: 2004-09- 17 02:14:52 $11 * @version $Revision: 1.56 $ $Name: not supported by cvs2svn $ 12 * @date $Date: 2004-09-21 19:37:12 $ 13 13 * 14 14 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 1776 1776 psVector* tmp = NULL; 1777 1777 1778 if (in->type.type == PS_TYPE_S 32) {1778 if (in->type.type == PS_TYPE_S8) { 1779 1779 tmp = psVectorAlloc(in->n, PS_TYPE_F32); 1780 1780 for (i = 0; i < in->n; i++) { 1781 1781 tmp->data.F32[i] = (float)in->data.S32[i]; 1782 1782 } 1783 } else if (in->type.type == PS_TYPE_U 32) {1783 } else if (in->type.type == PS_TYPE_U16) { 1784 1784 tmp = psVectorAlloc(in->n, PS_TYPE_F32); 1785 1785 for (i = 0; i < in->n; i++) {
Note:
See TracChangeset
for help on using the changeset viewer.
