From 094f2a86aba4d2102fe8baf9f0c6397c0dfa0c5a Mon Sep 17 00:00:00 2001 From: ksnxr <70186663+ksnxr@users.noreply.github.com> Date: Mon, 1 Apr 2024 00:04:21 +0000 Subject: [PATCH] Change variable names --- blackjax/mcmc/mala.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blackjax/mcmc/mala.py b/blackjax/mcmc/mala.py index f6dd7c106..1f1345cc4 100644 --- a/blackjax/mcmc/mala.py +++ b/blackjax/mcmc/mala.py @@ -79,7 +79,7 @@ def build_kernel(): def transition_energy(state, new_state, step_size): """Transition energy to go from `state` to `new_state`""" theta = jax.tree_util.tree_map( - lambda new_x, x, g: new_x - x - step_size * g, + lambda x, new_x, g: x - new_x - step_size * g, state.position, new_state.position, new_state.logdensity_grad,