Index: /trunk/psLib/src/Makefile
===================================================================
--- /trunk/psLib/src/Makefile	(revision 658)
+++ /trunk/psLib/src/Makefile	(revision 659)
@@ -3,6 +3,6 @@
 ##  Makefile:  psLib
 ##
-##  $Revision: 1.10 $  $Name: not supported by cvs2svn $
-##  $Date: 2004-05-13 06:06:33 $
+##  $Revision: 1.11 $  $Name: not supported by cvs2svn $
+##  $Date: 2004-05-13 06:43:42 $
 ##
 ##  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -140,5 +140,5 @@
 # the installation
 
-install: installdirs $(INSTALLTARGETS) docs
+install: installdirs $(INSTALLTARGETS)
 	install *.h $(includedir)
 	install $(TARGET_STATIC) $(libexecdir)
Index: /trunk/psLib/src/dataManip/psStats.c
===================================================================
--- /trunk/psLib/src/dataManip/psStats.c	(revision 658)
+++ /trunk/psLib/src/dataManip/psStats.c	(revision 659)
@@ -183,7 +183,8 @@
     } else {
         for (i=0;i<myVector->n;i++) {
-            mean+= maskVector->vec.i[i];
-        }
-    }
+            mean+= myVector->vec.f[i];
+        }
+    }
+    mean/= myVector->n;
     return(mean);
 }
Index: /trunk/psLib/src/math/psStats.c
===================================================================
--- /trunk/psLib/src/math/psStats.c	(revision 658)
+++ /trunk/psLib/src/math/psStats.c	(revision 659)
@@ -183,7 +183,8 @@
     } else {
         for (i=0;i<myVector->n;i++) {
-            mean+= maskVector->vec.i[i];
-        }
-    }
+            mean+= myVector->vec.f[i];
+        }
+    }
+    mean/= myVector->n;
     return(mean);
 }
Index: /trunk/psLib/test/dataManip/tst_psStats00.c
===================================================================
--- /trunk/psLib/test/dataManip/tst_psStats00.c	(revision 658)
+++ /trunk/psLib/test/dataManip/tst_psStats00.c	(revision 659)
@@ -26,4 +26,5 @@
     dummyFloatType.dimen = PS_DIMEN_VECTOR;
     myVector = psVectorAlloc(dummyFloatType, N);
+    myVector->n = N;
 
     mean = 0.0;
@@ -37,5 +38,4 @@
     myStats2 = psArrayStats(myVector, NULL, 0, myStats);
     mean = myStats2->sampleMean;
-    printf("HMMMM mean is %f\n", mean);
 
     if (mean == realMean) {
