Skip to content

Commit f7b6096

Browse files
committed
fixed documenting values
1 parent b9f476c commit f7b6096

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/AbstractMCMC.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ Return new instance of `state` using information from `transition_prev` and, opt
8787
Defaults to `setvalues!!(state, values(transition_prev))`.
8888
"""
8989
updatestate!!(state, transition_prev, state_prev) = updatestate!!(state, transition_prev)
90-
updatestate!!(state, transition) = setvalues!!(state, values(transition))
90+
updatestate!!(state, transition) = setvalues!!(state, Base.values(transition))
9191

9292
"""
9393
setvalues!!(state, values)
@@ -99,12 +99,12 @@ values. Otherwise a new `state` object with the new `values` is returned.
9999
"""
100100
function setvalues!! end
101101

102-
"""
102+
@doc """
103103
values(transition)
104104
105105
Return values in `transition`.
106106
"""
107-
function values end
107+
Base.values
108108

109109

110110
include("samplingstats.jl")

0 commit comments

Comments
 (0)