Skip to content

Commit 26b0970

Browse files
sunxd3yebai
andauthored
Update abstractmcmc.jl
Co-authored-by: Hong Ge <[email protected]>
1 parent 57f9e2b commit 26b0970

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/abstractmcmc.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ end
4141
# TODO: adopt https://github.com/TuringLang/MCMCTempering.jl/blob/deb96684496f3fbd011b9f70f28c49a161def23f/ext/MCMCTemperingAdvancedHMCExt.jl#L10-L17
4242
# if in the future the interface provides access to the log density function
4343
function AbstractMCMC.setparams!!(state::HMCState, params)
44-
return @set state.transition.z.θ = θ
44+
return @set state.transition.z.θ = params
4545
end
4646

4747
"""

0 commit comments

Comments
 (0)