Index: /trunk/psLib/src/dataManip/psStats.c
===================================================================
--- /trunk/psLib/src/dataManip/psStats.c	(revision 2721)
+++ /trunk/psLib/src/dataManip/psStats.c	(revision 2722)
@@ -9,6 +9,6 @@
  *  @author GLG, MHPCC
  *
- *  @version $Revision: 1.100 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2004-11-24 22:14:39 $
+ *  @version $Revision: 1.101 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2004-12-16 01:35:12 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -210,7 +210,7 @@
     stats->sampleMean = mean;
     if (isnan(mean)) {
+        return(-1);
+    } else {
         return(0);
-    } else {
-        return(-1);
     }
 
Index: /trunk/psLib/src/math/psStats.c
===================================================================
--- /trunk/psLib/src/math/psStats.c	(revision 2721)
+++ /trunk/psLib/src/math/psStats.c	(revision 2722)
@@ -9,6 +9,6 @@
  *  @author GLG, MHPCC
  *
- *  @version $Revision: 1.100 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2004-11-24 22:14:39 $
+ *  @version $Revision: 1.101 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2004-12-16 01:35:12 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -210,7 +210,7 @@
     stats->sampleMean = mean;
     if (isnan(mean)) {
+        return(-1);
+    } else {
         return(0);
-    } else {
-        return(-1);
     }
 
