commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdigg...@apache.org
Subject cvs commit: jakarta-commons-sandbox/math/src/java/org/apache/commons/math/stat StatUtils.java
Date Tue, 17 Jun 2003 23:00:18 GMT
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: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message