Index: trunk/archive/pslib/include/psStats.h
===================================================================
--- trunk/archive/pslib/include/psStats.h	(revision 357)
+++ trunk/archive/pslib/include/psStats.h	(revision 606)
@@ -62,9 +62,9 @@
 /** Do Statistics on an array.  Returns a status value. \ingroup MathGroup */
 psStats *
-psArrayStats(const psFloatArray *restrict myArray, ///< Array to be analysed
+psArrayStats(psStats *stats,		///< stats structure defines stats to be calculated, how and result
+	     const psFloatArray *restrict myArray, ///< Array to be analysed
 	     const psIntArray *restrict maskArray, ///< Ignore elements where (maskArray & maskVal) != 0
 						   ///< May be NULL
-	     unsigned int maskVal,	///< Only mask elements with one of these bits set in maskArray
-	     psStats *stats		///< stats structure defines stats to be calculated and how
+	     unsigned int maskVal	///< Only mask elements with one of these bits set in maskArray
     );
 
