Skip to content

Commit 7fa8de0

Browse files
torfjeldedevmotion
andauthored
Update src/AbstractMCMC.jl
Co-authored-by: David Widmann <[email protected]>
1 parent e2bdfb7 commit 7fa8de0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/AbstractMCMC.jl

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,10 @@ end
9797
"""
9898
setparameters!!(state, parameters)
9999
100-
Return new instance of `state` with parameters set to `parameters`.
100+
Update the parameters of the `state` with `parameters` and return it.
101+
102+
If `state` can be updated in-place, it is expected that this function returns `state` with updated
103+
parameters. Otherwise a new `state` object with the new `parameters` is returned.
101104
"""
102105
setparameters!!
103106

0 commit comments

Comments
 (0)