Skip to content

Commit

Permalink
Update src/MALA.jl
Browse files Browse the repository at this point in the history
Co-authored-by: Cameron Pfiffer <[email protected]>
  • Loading branch information
briandepasquale and cpfiffer authored May 26, 2020
1 parent 0a63e68 commit 28a6c59
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/MALA.jl
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ end

function q(
spl::MALA{<:Proposal},
t::Transition_w,
t_cond::Transition_w
t::GradientTransition,
t_cond::GradientTransition
)
return q(spl.proposal(-t_cond.), t.params, t_cond.params)
return q(spl.proposal(-t_cond.gradient), t.params, t_cond.params)
end


Expand Down

0 comments on commit 28a6c59

Please sign in to comment.