Repository: commons-math Updated Branches: refs/heads/master fdee2718d -> ad12d97cb
Use a fixed seed to avoid random test failure. Project: http://git-wip-us.apache.org/repos/asf/commons-math/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-math/commit/ad12d97c Tree: http://git-wip-us.apache.org/repos/asf/commons-math/tree/ad12d97c Diff: http://git-wip-us.apache.org/repos/asf/commons-math/diff/ad12d97c Branch: refs/heads/master Commit: ad12d97cbb4c35017d55c4105174671f1c38b36a Parents: fdee271 Author: Luc Maisonobe <[email protected]> Authored: Mon Nov 2 13:43:09 2015 +0100 Committer: Luc Maisonobe <[email protected]> Committed: Mon Nov 2 13:43:09 2015 +0100 ---------------------------------------------------------------------- .../commons/math4/random/CorrelatedRandomVectorGeneratorTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/commons-math/blob/ad12d97c/src/test/java/org/apache/commons/math4/random/CorrelatedRandomVectorGeneratorTest.java ---------------------------------------------------------------------- diff --git a/src/test/java/org/apache/commons/math4/random/CorrelatedRandomVectorGeneratorTest.java b/src/test/java/org/apache/commons/math4/random/CorrelatedRandomVectorGeneratorTest.java index 4321a5a..038380c 100644 --- a/src/test/java/org/apache/commons/math4/random/CorrelatedRandomVectorGeneratorTest.java +++ b/src/test/java/org/apache/commons/math4/random/CorrelatedRandomVectorGeneratorTest.java @@ -181,7 +181,7 @@ public class CorrelatedRandomVectorGeneratorTest { new double[cov.length], matrix, small, - new GaussianRandomGenerator(new JDKRandomGenerator())); + new GaussianRandomGenerator(new Well1024a(0x366a26b94e520f41l))); } private void testSampler(final double[][] covMatrix, int samples, double epsilon) {
