From ac25b3b9f35218f1c5ba9b2ded9e5389ab035e50 Mon Sep 17 00:00:00 2001 From: Gilles Sadowski Date: Sat, 5 Jun 2021 02:26:43 +0200 Subject: [PATCH] Remove fixed seed (unit test). --- .../apache/commons/math4/legacy/filter/KalmanFilterTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/filter/KalmanFilterTest.java b/commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/filter/KalmanFilterTest.java index b21e7fcd3..0dbba2cf5 100644 --- a/commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/filter/KalmanFilterTest.java +++ b/commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/filter/KalmanFilterTest.java @@ -387,7 +387,7 @@ public class KalmanFilterTest { final MeasurementModel mm = new DefaultMeasurementModel(H, R); final KalmanFilter filter = new KalmanFilter(pm, mm); - final ContinuousDistribution.Sampler dist = new NormalDistribution(0, measurementNoise).createSampler(RandomSource.create(RandomSource.WELL_19937_C, 1001)); + final ContinuousDistribution.Sampler dist = new NormalDistribution(0, measurementNoise).createSampler(RandomSource.create(RandomSource.WELL_19937_C)); for (int i = 0; i < iterations; i++) { // get the "real" cannonball position