Skip to content

Commit 28a6c59

Browse files
Update src/MALA.jl
Co-authored-by: Cameron Pfiffer <[email protected]>
1 parent 0a63e68 commit 28a6c59

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/MALA.jl

+3-3
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@ end
3737

3838
function q(
3939
spl::MALA{<:Proposal},
40-
t::Transition_w,
41-
t_cond::Transition_w
40+
t::GradientTransition,
41+
t_cond::GradientTransition
4242
)
43-
return q(spl.proposal(-t_cond.), t.params, t_cond.params)
43+
return q(spl.proposal(-t_cond.gradient), t.params, t_cond.params)
4444
end
4545

4646

0 commit comments

Comments
 (0)