|
130 | 130 | @test all(x -> isapprox(mean(@view x.as[2:end]), 0.5; atol=5e-2), chains)
|
131 | 131 | @test all(x -> isapprox(var(@view x.as[2:end]), 1 / 12; atol=5e-3), chains)
|
132 | 132 | @test all(x -> isapprox(mean(@view x.bs[2:end]), 0; atol=5e-2), chains)
|
133 |
| - @test all(x -> isapprox(var(@view x.bs[2:end]), 1; atol=5e-2), chains) |
| 133 | + @test all(x -> isapprox(var(@view x.bs[2:end]), 1; atol=1e-1), chains) |
134 | 134 |
|
135 | 135 | # test reproducibility
|
136 | 136 | Random.seed!(1234)
|
|
199 | 199 | @test all(x -> isapprox(mean(@view x.as[2:end]), 0.5; atol=5e-2), chains)
|
200 | 200 | @test all(x -> isapprox(var(@view x.as[2:end]), 1 / 12; atol=5e-3), chains)
|
201 | 201 | @test all(x -> isapprox(mean(@view x.bs[2:end]), 0; atol=5e-2), chains)
|
202 |
| - @test all(x -> isapprox(var(@view x.bs[2:end]), 1; atol=5e-2), chains) |
| 202 | + @test all(x -> isapprox(var(@view x.bs[2:end]), 1; atol=1e-1), chains) |
203 | 203 |
|
204 | 204 | # Test reproducibility.
|
205 | 205 | Random.seed!(1234)
|
|
245 | 245 | @test all(x -> isapprox(mean(@view x.as[2:end]), 0.5; atol=5e-2), chains)
|
246 | 246 | @test all(x -> isapprox(var(@view x.as[2:end]), 1 / 12; atol=5e-3), chains)
|
247 | 247 | @test all(x -> isapprox(mean(@view x.bs[2:end]), 0; atol=5e-2), chains)
|
248 |
| - @test all(x -> isapprox(var(@view x.bs[2:end]), 1; atol=5e-2), chains) |
| 248 | + @test all(x -> isapprox(var(@view x.bs[2:end]), 1; atol=1e-1), chains) |
249 | 249 |
|
250 | 250 | # Test reproducibility.
|
251 | 251 | Random.seed!(1234)
|
|
0 commit comments