Skip to content

Commit

Permalink
Update src/AbstractMCMC.jl
Browse files Browse the repository at this point in the history
Co-authored-by: David Widmann <devmotion@users.noreply.github.com>
  • Loading branch information
torfjelde and devmotion committed Oct 23, 2021
1 parent e2bdfb7 commit 7fa8de0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/AbstractMCMC.jl
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,10 @@ end
"""
setparameters!!(state, parameters)
Return new instance of `state` with parameters set to `parameters`.
Update the parameters of the `state` with `parameters` and return it.
If `state` can be updated in-place, it is expected that this function returns `state` with updated
parameters. Otherwise a new `state` object with the new `parameters` is returned.
"""
setparameters!!

Expand Down

0 comments on commit 7fa8de0

Please sign in to comment.