commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From l..@apache.org
Subject [05/22] [math] Reverting commit 66608db56c41e91ee34fdc1e6157d69b69893fad as per Gilles request.
Date Sun, 17 Jan 2016 10:41:54 GMT
Reverting commit 66608db56c41e91ee34fdc1e6157d69b69893fad as per Gilles request.

The work on revamping the random packages is perfoemd in the random-ravamp branch.


Project: http://git-wip-us.apache.org/repos/asf/commons-math/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-math/commit/068e4f17
Tree: http://git-wip-us.apache.org/repos/asf/commons-math/tree/068e4f17
Diff: http://git-wip-us.apache.org/repos/asf/commons-math/diff/068e4f17

Branch: refs/heads/master
Commit: 068e4f1792bd2b157e6ed6703e792d628f1bff00
Parents: 4742149
Author: Luc Maisonobe <luc@apache.org>
Authored: Sun Jan 17 11:30:23 2016 +0100
Committer: Luc Maisonobe <luc@apache.org>
Committed: Sun Jan 17 11:40:27 2016 +0100

----------------------------------------------------------------------
 .../apache/commons/math4/random/RandomGeneratorAbstractTest.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-math/blob/068e4f17/src/test/java/org/apache/commons/math4/random/RandomGeneratorAbstractTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/math4/random/RandomGeneratorAbstractTest.java
b/src/test/java/org/apache/commons/math4/random/RandomGeneratorAbstractTest.java
index 7c0384e..829f350 100644
--- a/src/test/java/org/apache/commons/math4/random/RandomGeneratorAbstractTest.java
+++ b/src/test/java/org/apache/commons/math4/random/RandomGeneratorAbstractTest.java
@@ -428,7 +428,7 @@ public abstract class RandomGeneratorAbstractTest extends RandomDataGeneratorTes
         for (int i = 0; i < len; i++) {
             values[1][i] = gen2.nextGaussian();
         }
-        TestUtils.assertEquals(values[0], values[1], 0d);
+        Assert.assertTrue(Arrays.equals(values[0], values[1]));
     }
 
     // MATH-1300


Mime
View raw message