We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b2f352 commit 5e7ed7dCopy full SHA for 5e7ed7d
test/ad.jl
@@ -281,8 +281,11 @@ end
281
282
@testset verbose = true "AD / Gibbs sampling" begin
283
# Make sure that Gibbs sampling doesn't fall over when using AD.
284
- spl = Gibbs(@varname(s) => HMC(0.1, 10), @varname(m) => HMC(0.1, 10))
285
@testset "adtype=$adtype" for adtype in ADTYPES
+ spl = Gibbs(
286
+ @varname(s) => HMC(0.1, 10; adtype=adtype),
287
+ @varname(m) => HMC(0.1, 10; adtype=adtype),
288
+ )
289
@testset "model=$(model.f)" for model in DEMO_MODELS
290
@test sample(model, spl, 2) isa Any
291
end
0 commit comments