You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ah...@apache.org on 2020/04/04 21:16:32 UTC

[commons-numbers] 02/09: Remove deprecated RNG from test.

This is an automated email from the ASF dual-hosted git repository.

aherbert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-numbers.git

commit 104254a7888663f625b271aff21fb4b4f9c155ec
Author: Alex Herbert <ah...@apache.org>
AuthorDate: Sat Apr 4 17:41:56 2020 +0100

    Remove deprecated RNG from test.
---
 .../java/org/apache/commons/numbers/arrays/LinearCombinationTest.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/commons-numbers-arrays/src/test/java/org/apache/commons/numbers/arrays/LinearCombinationTest.java b/commons-numbers-arrays/src/test/java/org/apache/commons/numbers/arrays/LinearCombinationTest.java
index 6edcb1c..82894f6 100644
--- a/commons-numbers-arrays/src/test/java/org/apache/commons/numbers/arrays/LinearCombinationTest.java
+++ b/commons-numbers-arrays/src/test/java/org/apache/commons/numbers/arrays/LinearCombinationTest.java
@@ -78,7 +78,7 @@ public class LinearCombinationTest {
 
     @Test
     public void testArrayVsInline() {
-        final UniformRandomProvider rng = RandomSource.create(RandomSource.XOR_SHIFT_1024_S);
+        final UniformRandomProvider rng = RandomSource.create(RandomSource.XO_SHI_RO_256_PP);
 
         double sInline;
         double sArray;