From 0cdb3e65ac67e68dc8ab7f09ca43274d79b6844c Mon Sep 17 00:00:00 2001 From: Carleton Coffrin Date: Thu, 10 Feb 2022 21:34:12 -0700 Subject: [PATCH] make noisy tests more robust --- test/simulate.jl | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/test/simulate.jl b/test/simulate.jl index 8ffe2e1..df62b1b 100644 --- a/test/simulate.jl +++ b/test/simulate.jl @@ -446,8 +446,8 @@ end steps = 100 numshots = 10 - #random numbers between -1.0 and 1.0 - z_bias = (Random.rand(numshots) .- 0.5)*2 + # random numbers between -0.75 and 0.75 + z_bias = (Random.rand(numshots) .- 0.5)*1.5 bqpjson_file = "data/bqpjson_1q.json" dwisc_file = "tmp.json" @@ -467,9 +467,9 @@ end steps = 100 numshots = 10 - #random numbers between -1.0 and 1.0 - x_bias = (Random.rand(numshots) .- 0.5)*2 - z_bias = (Random.rand(numshots) .- 0.5)*2 + # random numbers between -0.75 and 0.75 + x_bias = (Random.rand(numshots) .- 0.5)*1.5 + z_bias = (Random.rand(numshots) .- 0.5)*1.5 bqpjson_file = "data/bqpjson_1q.json" dwisc_file = "tmp.json"