Skip to content

Commit 9a97dfe

Browse files
authored
remove redundant code (#2357)
1 parent 3c91eec commit 9a97dfe

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/mcmc/hmc.jl

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,6 @@ struct HMCState{
1717
adaptor::TAdapt
1818
end
1919

20-
##########################
21-
# Hamiltonian Transition #
22-
##########################
23-
24-
function Transition(model::DynamicPPL.Model, vi::AbstractVarInfo, t::AHMC.Transition)
25-
theta = getparams(model, vi)
26-
lp = getlogp(vi)
27-
return Transition(theta, lp, t.stat)
28-
end
29-
3020
###
3121
### Hamiltonian Monte Carlo samplers.
3222
###

0 commit comments

Comments
 (0)