Index: /trunk/psLib/src/collections/psVector.c
===================================================================
--- /trunk/psLib/src/collections/psVector.c	(revision 1304)
+++ /trunk/psLib/src/collections/psVector.c	(revision 1305)
@@ -8,6 +8,6 @@
  *  @author Ross Harman, MHPCC
  *
- *  @version $Revision: 1.15 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2004-07-27 23:25:19 $
+ *  @version $Revision: 1.16 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2004-07-28 00:06:13 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -285,4 +285,10 @@
     }
 
+    if(outVector->type.type != PS_TYPE_U32) {
+        psError(__func__, " : Line %d - Output vector is not of type U32: out=%d\n",
+                __LINE__, outVector->type.type);
+        return outVector;
+    }
+
     tmpVector = psVectorAlloc(inN, inType);
     tmpVector->n = inN;
Index: /trunk/psLib/src/mathtypes/psVector.c
===================================================================
--- /trunk/psLib/src/mathtypes/psVector.c	(revision 1304)
+++ /trunk/psLib/src/mathtypes/psVector.c	(revision 1305)
@@ -8,6 +8,6 @@
  *  @author Ross Harman, MHPCC
  *
- *  @version $Revision: 1.15 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2004-07-27 23:25:19 $
+ *  @version $Revision: 1.16 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2004-07-28 00:06:13 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -285,4 +285,10 @@
     }
 
+    if(outVector->type.type != PS_TYPE_U32) {
+        psError(__func__, " : Line %d - Output vector is not of type U32: out=%d\n",
+                __LINE__, outVector->type.type);
+        return outVector;
+    }
+
     tmpVector = psVectorAlloc(inN, inType);
     tmpVector->n = inN;
