Index: trunk/archive/pslib/include/psStats.h
===================================================================
--- trunk/archive/pslib/include/psStats.h	(revision 606)
+++ trunk/archive/pslib/include/psStats.h	(revision 609)
@@ -83,9 +83,9 @@
 /** Histograms  */
 typedef struct {
-    const psFloatArray *restrict lower;	///< Lower bounds for the bins
-    const psFloatArray *restrict upper; ///< Upper bounds for the bins
+    const psFloatArray *restrict bounds; ///< Bounds for the bins
     psIntArray *nums;			///< Number in each of the bins
     const float minVal, maxVal;		///< Minimum and maximum values
     int minNum, maxNum;			///< Number below the minimum and above the maximum
+    int uniform;			///< Is it a uniform distribution?
 } psHistogram;
 
@@ -94,11 +94,10 @@
 psHistogramAlloc(float lower,		///< Lower limit for the bins
 		 float upper,		///< Upper limit for the bins
-		 float size		///< Size of the bins
+		 int n			///< Number of the bins
     );
 
 /** Generic constructor \ingroup MathGroup */
 psHistogram *
-psHistogramAllocGeneric(const psFloatArray *restrict lower, ///< Lower bounds for the bins
-			const psFloatArray *restrict upper, ///< Upper bounds for the bins
+psHistogramAllocGeneric(const psFloatArray *restrict bounds, ///< Bounds for the bins
 			float minVal,	///< Minimum value
 			float maxVal	///< Maximum value
