Skip to content

Commit

Permalink
Require explicit Adaptor for HMC sampler constructor.
Browse files Browse the repository at this point in the history
  • Loading branch information
yebai committed Apr 30, 2019
1 parent a06d6ae commit f6c560b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/inference/hmc.jl
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ end
#### Sampler construction
####

Sampler(alg::Hamiltonian) = Sampler(alg, AHMCAdaptor())
# Sampler(alg::Hamiltonian) = Sampler(alg, AHMCAdaptor())
function Sampler(alg::Hamiltonian, s::Selector=Selector())
info = Dict{Symbol, Any}()

Expand Down

0 comments on commit f6c560b

Please sign in to comment.