From 28a6c5946d6a88adc7c0fbbb248bf3d25e94de5f Mon Sep 17 00:00:00 2001 From: Brian DePasquale Date: Tue, 26 May 2020 12:23:19 -0400 Subject: [PATCH] Update src/MALA.jl Co-authored-by: Cameron Pfiffer --- src/MALA.jl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/MALA.jl b/src/MALA.jl index 17d33e8..706756c 100644 --- a/src/MALA.jl +++ b/src/MALA.jl @@ -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