Skip to content

Commit 90c6a5d

Browse files
authored
Merge pull request #529 from probcomp/ian/pf_test
Fix stability of test.
2 parents f9012e3 + 67eeed0 commit 90c6a5d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/inference/particle_filter.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,8 @@ end
9696
@testset "custom proposal" begin
9797

9898
Random.seed!(1)
99-
num_particles = 10000
100-
ess_threshold = 10000 # make sure we exercise resampling
99+
num_particles = 20000
100+
ess_threshold = 20000 # make sure we exercise resampling
101101

102102
# initialize particle filter
103103

@@ -146,8 +146,8 @@ end
146146
@testset "default proposal" begin
147147

148148
Random.seed!(1)
149-
num_particles = 10000
150-
ess_threshold = 10000 # make sure we exercise resampling
149+
num_particles = 20000
150+
ess_threshold = 20000 # make sure we exercise resampling
151151

152152
# initialize the particle filter
153153
init_observations = choicemap((:x_init, obs_x[1]))

0 commit comments

Comments
 (0)