Skip to content

Commit

Permalink
Minor fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
yebai committed Sep 13, 2018
1 parent a94a6d7 commit 20f6ecb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/core/compiler.jl
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ macro model(fexpr)
:name => compiler[:closure_name],
:args => [:(vi::Turing.VarInfo)],
:kwargs => [],
:body => :(return $(compiler[:closure_name])(vi, SampleFromPrior()))
:body => :(return $(compiler[:closure_name])(vi, Turing.SampleFromPrior()))

)
)
Expand All @@ -274,7 +274,7 @@ macro model(fexpr)
:name => compiler[:closure_name],
:args => [:(sampler::Turing.AbstractSampler)],
:kwargs => [],
:body => :(return $(compiler[:closure_name])(Turing.VarInfo(), SampleFromPrior()))
:body => :(return $(compiler[:closure_name])(Turing.VarInfo(), Turing.SampleFromPrior()))

)
)
Expand All @@ -284,7 +284,7 @@ macro model(fexpr)
:name => compiler[:closure_name],
:args => [],
:kwargs => [],
:body => :(return $(compiler[:closure_name])(Turing.VarInfo(), SampleFromPrior()))
:body => :(return $(compiler[:closure_name])(Turing.VarInfo(), Turing.SampleFromPrior()))

)
)
Expand Down

0 comments on commit 20f6ecb

Please sign in to comment.