commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aherb...@apache.org
Subject [commons-numbers] 02/09: Remove deprecated RNG from test.
Date Sat, 04 Apr 2020 21:16:32 GMT
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 <aherbert@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;


Mime
View raw message