Index: /trunk/psLib/src/dataManip/psStats.c
===================================================================
--- /trunk/psLib/src/dataManip/psStats.c	(revision 1837)
+++ /trunk/psLib/src/dataManip/psStats.c	(revision 1838)
@@ -9,6 +9,6 @@
  *  @author George Gusciora, MHPCC
  *
- *  @version $Revision: 1.55 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2004-09-17 02:14:52 $
+ *  @version $Revision: 1.56 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2004-09-21 19:37:12 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -1776,10 +1776,10 @@
     psVector* tmp = NULL;
 
-    if (in->type.type == PS_TYPE_S32) {
+    if (in->type.type == PS_TYPE_S8) {
         tmp = psVectorAlloc(in->n, PS_TYPE_F32);
         for (i = 0; i < in->n; i++) {
             tmp->data.F32[i] = (float)in->data.S32[i];
         }
-    } else if (in->type.type == PS_TYPE_U32) {
+    } else if (in->type.type == PS_TYPE_U16) {
         tmp = psVectorAlloc(in->n, PS_TYPE_F32);
         for (i = 0; i < in->n; i++) {
Index: /trunk/psLib/src/math/psStats.c
===================================================================
--- /trunk/psLib/src/math/psStats.c	(revision 1837)
+++ /trunk/psLib/src/math/psStats.c	(revision 1838)
@@ -9,6 +9,6 @@
  *  @author George Gusciora, MHPCC
  *
- *  @version $Revision: 1.55 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2004-09-17 02:14:52 $
+ *  @version $Revision: 1.56 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2004-09-21 19:37:12 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -1776,10 +1776,10 @@
     psVector* tmp = NULL;
 
-    if (in->type.type == PS_TYPE_S32) {
+    if (in->type.type == PS_TYPE_S8) {
         tmp = psVectorAlloc(in->n, PS_TYPE_F32);
         for (i = 0; i < in->n; i++) {
             tmp->data.F32[i] = (float)in->data.S32[i];
         }
-    } else if (in->type.type == PS_TYPE_U32) {
+    } else if (in->type.type == PS_TYPE_U16) {
         tmp = psVectorAlloc(in->n, PS_TYPE_F32);
         for (i = 0; i < in->n; i++) {
