Skip to content

Commit 616513e

Browse files
refactor: variable name change
1 parent 1fb3690 commit 616513e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pymc_extras/model/marginal/distributions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -442,5 +442,5 @@ def laplace_marginal_rv_logp(op: MarginalLaplaceRV, values, *inputs, **kwargs):
442442
) # At x = x0, the quadratic term becomes 0
443443

444444
# logp(y | params) = logp(y | x, params) + logp(x | params) - logp(x | y, params)
445-
joint_logp = logp - log_laplace_approx
446-
return pytensor.graph.replace.graph_replace(joint_logp, {marginalized_vv: x0})
445+
marginal_likelihood = logp - log_laplace_approx
446+
return pytensor.graph.replace.graph_replace(marginal_likelihood, {marginalized_vv: x0})

0 commit comments

Comments
 (0)