Missed two static signatures in the methods

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140918 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Mark R. Diggory 2003-06-17 23:00:17 +00:00
parent 5acc48ef8d
commit 175c7c5fce
1 changed files with 2 additions and 2 deletions

View File

@ -140,7 +140,7 @@ public class StatUtils {
* @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 @@ public class StatUtils {
* @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;