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:
parent
5acc48ef8d
commit
175c7c5fce
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue