Skip to content

Commit

Permalink
Update blackjax/mcmc/mala.py
Browse files Browse the repository at this point in the history
Co-authored-by: Junpeng Lao <junpenglao@gmail.com>
  • Loading branch information
albcab and junpenglao authored Apr 14, 2023
1 parent 3e8d85c commit e2b65b7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions blackjax/mcmc/mala.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,7 @@ def one_step(

proposal = init_proposal(state)
new_proposal, _ = generate_proposal(state, new_state, step_size=step_size)
sampled_proposal, *info = sample_proposal(key_rmh, proposal, new_proposal)
do_accept, p_accept = info
sampled_proposal, do_accept, p_accept = sample_proposal(key_rmh, proposal, new_proposal)

info = MALAInfo(p_accept, do_accept)

Expand Down

0 comments on commit e2b65b7

Please sign in to comment.