mdiggory 2003/06/17 16:00:18
Modified: math/src/java/org/apache/commons/math/stat StatUtils.java
Log:
Missed two static signatures in the methods
Revision Changes Path
1.2 +2 -2
jakarta-commons-sandbox/math/src/java/org/apache/commons/math/stat/StatUtils.java
Index: StatUtils.java
===================================================================
RCS file:
/home/cvs/jakarta-commons-sandbox/math/src/java/org/apache/commons/math/stat/StatUtils.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- StatUtils.java 17 Jun 2003 22:55:38 -0000 1.1
+++ StatUtils.java 17 Jun 2003 23:00:17 -0000 1.2
@@ -140,7 +140,7 @@
* @param values Is a double[] containing the values
* @return the skewness of the values or Double.NaN if the array is empty
*/
- public double skewness(double[] values) {
+ public static double skewness(double[] values) {
// Initialize the skewness
double skewness = Double.NaN;
@@ -170,7 +170,7 @@
* @param values Is a double[] containing the values
* @return the kurtosis of the values or Double.NaN if the array is empty
*/
- public double kurtosis(double[] values) {
+ public static double kurtosis(double[] values) {
// Initialize the kurtosis
double kurtosis = Double.NaN;
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]