commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pste...@apache.org
Subject svn commit: r1221505 - /commons/proper/math/trunk/src/test/java/org/apache/commons/math/random/RandomDataTest.java
Date Tue, 20 Dec 2011 22:15:50 GMT
Author: psteitz
Date: Tue Dec 20 22:15:49 2011
New Revision: 1221505

URL: http://svn.apache.org/viewvc?rev=1221505&view=rev
Log:
Loosen tolerance a little to avoid spurious failure.

Modified:
    commons/proper/math/trunk/src/test/java/org/apache/commons/math/random/RandomDataTest.java

Modified: commons/proper/math/trunk/src/test/java/org/apache/commons/math/random/RandomDataTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/java/org/apache/commons/math/random/RandomDataTest.java?rev=1221505&r1=1221504&r2=1221505&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/java/org/apache/commons/math/random/RandomDataTest.java
(original)
+++ commons/proper/math/trunk/src/test/java/org/apache/commons/math/random/RandomDataTest.java
Tue Dec 20 22:15:49 2011
@@ -153,7 +153,7 @@ public class RandomDataTest {
             expected[i] = 1d / len;
         }
         
-        TestUtils.assertChiSquareAccept(expected, observed, 0.01);
+        TestUtils.assertChiSquareAccept(expected, observed, 0.001);
     }
 
     @Test



Mime
View raw message