Skip to content

Commit

Permalink
Remove whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
devmotion committed Feb 27, 2020
1 parent 5f94b98 commit 62351c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/prob_macro.jl
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Random.seed!(129)
@test logprob"x = xval, m = mval | model = demo, varinfo = varinfo" == logjoint

chain = sample(demo(xval), IS(), iters; save_state = true)
chain2 = Chains(chain.value, chain.logevidence, chain.name_map, NamedTuple())
chain2 = Chains(chain.value, chain.logevidence, chain.name_map, NamedTuple())
lps = logpdf.(Normal.(vec(chain["m"].value), 1), xval)
@test logprob"x = xval | chain = chain" == lps
@test logprob"x = xval | chain = chain2, model = demo" == lps
Expand Down

0 comments on commit 62351c1

Please sign in to comment.