Skip to content

Commit

Permalink
make noisy tests more robust
Browse files Browse the repository at this point in the history
  • Loading branch information
ccoffrin committed Feb 11, 2022
1 parent d63f7bf commit 0cdb3e6
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test/simulate.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"
Expand Down

0 comments on commit 0cdb3e6

Please sign in to comment.