Skip to content

Commit

Permalink
seperate model wrapper call in sample.jl test
Browse files Browse the repository at this point in the history
  • Loading branch information
xukai92 committed Oct 3, 2017
1 parent cb5b054 commit ffb9407
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/compiler.jl/sample.jl
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ x = [2.0, 3.0]
alg = Gibbs(1000, HMC(1, 0.2, 3, :m), PG(10, 1, :s))
# NOTE: want to translate below to
# chn = sample(gdemo, Dict(:x => x), alg)
chn = sample(gdemo2(x), alg);
modelf = gdemo2(x)
chn = sample(modelf, alg);
mean(chn[:s])

# Turing.TURING[:modelex]

0 comments on commit ffb9407

Please sign in to comment.