commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pste...@apache.org
Subject cvs commit: jakarta-commons/math/src/test/org/apache/commons/math/stat/univariate/summary ProductTest.java
Date Sun, 21 Mar 2004 04:29:20 GMT
psteitz     2004/03/20 20:29:20

  Modified:    math/src/test/org/apache/commons/math/stat/univariate/summary
                        ProductTest.java
  Log:
  Override getTolerance() to work with correct target value.
  
  Revision  Changes    Path
  1.11      +5 -1      jakarta-commons/math/src/test/org/apache/commons/math/stat/univariate/summary/ProductTest.java
  
  Index: ProductTest.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/math/src/test/org/apache/commons/math/stat/univariate/summary/ProductTest.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- ProductTest.java	21 Feb 2004 21:35:18 -0000	1.10
  +++ ProductTest.java	21 Mar 2004 04:29:20 -0000	1.11
  @@ -53,6 +53,10 @@
           return stat;
       }
   
  +    public double getTolerance() {
  +        return 10E8;    //sic -- big absolute error due to only 15 digits of accuracy in
double
  +    }
  +    
       /* (non-Javadoc)
        * @see org.apache.commons.math.stat.univariate.UnivariateStatisticAbstractTest#expectedValue()
        */
  
  
  

---------------------------------------------------------------------
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