Index: trunk/psLib/src/math/psStats.c
===================================================================
--- trunk/psLib/src/math/psStats.c	(revision 2221)
+++ trunk/psLib/src/math/psStats.c	(revision 2224)
@@ -9,6 +9,6 @@
  *  @author GLG, MHPCC
  *
- *  @version $Revision: 1.76 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2004-10-27 23:31:43 $
+ *  @version $Revision: 1.77 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2004-10-28 00:22:53 $
 n *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -1487,5 +1487,5 @@
     PS_VECTOR_CHECK_NULL(bounds, NULL);
     PS_VECTOR_CHECK_TYPE(bounds, PS_TYPE_F32, NULL);
-    PS_INT_COMPARE(bounds->n, 2, NULL);
+    PS_INT_COMPARE(2, bounds->n, NULL);
 
     psHistogram* newHist = NULL;        // The new histogram structure
@@ -1694,5 +1694,5 @@
 
     if ((stats->options & PS_STAT_USE_RANGE) && (stats->min >= stats->max)) {
-        PS_FLOAT_COMPARE(stats->max, stats->min, stats);
+        PS_FLOAT_COMPARE(stats->min, stats->max, stats);
     }
 
