Index: /trunk/psLib/src/dataManip/psFunctions.h
===================================================================
--- /trunk/psLib/src/dataManip/psFunctions.h	(revision 1297)
+++ /trunk/psLib/src/dataManip/psFunctions.h	(revision 1298)
@@ -12,6 +12,6 @@
  *  @author George Gusciora, MHPCC
  *
- *  @version $Revision: 1.8 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2004-07-24 03:04:12 $
+ *  @version $Revision: 1.9 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2004-07-27 19:51:55 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -20,7 +20,5 @@
 #if !defined(PS_FUNCTIONS_H)
 #define PS_FUNCTIONS_H
-
 #include "psVector.h"
-
 
 /** \addtogroup Stats
Index: /trunk/psLib/src/dataManip/psStats.c
===================================================================
--- /trunk/psLib/src/dataManip/psStats.c	(revision 1297)
+++ /trunk/psLib/src/dataManip/psStats.c	(revision 1298)
@@ -1804,10 +1804,9 @@
 
     // XXX: Should we abort if (stats->min == stats->max)?
-    if (stats->min >= stats->max) {
+    if ((stats->options & PS_STAT_USE_RANGE) &&
+            (stats->min >= stats->max)) {
         psAbort(__func__, "psVectorStats() called with range: %f to %f\n",
                 stats->min, stats->max);
     }
-
-
 
     PS_CHECK_VECTOR_TYPE(in, PS_TYPE_F32);
Index: /trunk/psLib/src/math/psPolynomial.h
===================================================================
--- /trunk/psLib/src/math/psPolynomial.h	(revision 1297)
+++ /trunk/psLib/src/math/psPolynomial.h	(revision 1298)
@@ -12,6 +12,6 @@
  *  @author George Gusciora, MHPCC
  *
- *  @version $Revision: 1.8 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2004-07-24 03:04:12 $
+ *  @version $Revision: 1.9 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2004-07-27 19:51:55 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -20,7 +20,5 @@
 #if !defined(PS_FUNCTIONS_H)
 #define PS_FUNCTIONS_H
-
 #include "psVector.h"
-
 
 /** \addtogroup Stats
Index: /trunk/psLib/src/math/psSpline.h
===================================================================
--- /trunk/psLib/src/math/psSpline.h	(revision 1297)
+++ /trunk/psLib/src/math/psSpline.h	(revision 1298)
@@ -12,6 +12,6 @@
  *  @author George Gusciora, MHPCC
  *
- *  @version $Revision: 1.8 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2004-07-24 03:04:12 $
+ *  @version $Revision: 1.9 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2004-07-27 19:51:55 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -20,7 +20,5 @@
 #if !defined(PS_FUNCTIONS_H)
 #define PS_FUNCTIONS_H
-
 #include "psVector.h"
-
 
 /** \addtogroup Stats
Index: /trunk/psLib/src/math/psStats.c
===================================================================
--- /trunk/psLib/src/math/psStats.c	(revision 1297)
+++ /trunk/psLib/src/math/psStats.c	(revision 1298)
@@ -1804,10 +1804,9 @@
 
     // XXX: Should we abort if (stats->min == stats->max)?
-    if (stats->min >= stats->max) {
+    if ((stats->options & PS_STAT_USE_RANGE) &&
+            (stats->min >= stats->max)) {
         psAbort(__func__, "psVectorStats() called with range: %f to %f\n",
                 stats->min, stats->max);
     }
-
-
 
     PS_CHECK_VECTOR_TYPE(in, PS_TYPE_F32);
