Index: trunk/psLib/src/dataManip/psStats.c
===================================================================
--- trunk/psLib/src/dataManip/psStats.c	(revision 2325)
+++ trunk/psLib/src/dataManip/psStats.c	(revision 2327)
@@ -9,6 +9,6 @@
  *  @author GLG, MHPCC
  *
- *  @version $Revision: 1.87 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2004-11-10 22:45:33 $
+ *  @version $Revision: 1.88 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2004-11-10 23:05:49 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -353,5 +353,5 @@
     stats
 Returns
-    NULL
+    int
  *****************************************************************************/
 psS32 p_psVectorNValues(const psVector* restrict myVector,
@@ -360,4 +360,6 @@
                         psStats* stats)
 {
+    PS_VECTOR_CHECK_NULL(myVector, -1);
+    PS_PTR_CHECK_NULL(stats, -1);
     psS32 i = 0;                // Loop index variable
     psS32 numData = 0;          // The number of data points
