From 1f4d0ba27bd5df5390eb622bcb458f8f7ac2573c Mon Sep 17 00:00:00 2001 From: Untoldwind Date: Mon, 6 Aug 2018 17:18:16 +0200 Subject: [PATCH] Fixes #37 even more --- test_parameters.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test_parameters.go b/test_parameters.go index a5c8b9e..28c295e 100644 --- a/test_parameters.go +++ b/test_parameters.go @@ -27,7 +27,7 @@ func DefaultTestParametersWithSeed(seed int64) *TestParameters { MaxSize: 100, MaxShrinkCount: 1000, Seed: seed, - Rng: rand.New(rand.NewSource(seed)), + Rng: rand.New(NewLockedSource(seed)), Workers: 1, MaxDiscardRatio: 5, }