Skip to content

Commit e7e2870

Browse files
committed
fix more doc example error
1 parent bdba893 commit e7e2870

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/src/state_interface.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,8 @@ end
185185
It is very simple to implement the samplers according to the `AbstractMCMC` interface, where we can use `LogDensityProblems.logdensity` to easily read the log probability of the current state.
186186

187187
```@example gibbs_example
188+
abstract type AbstractMHSampler <: AbstractMCMC.AbstractSampler end
189+
188190
"""
189191
RandomWalkMH{T} <: AbstractMCMC.AbstractSampler
190192

0 commit comments

Comments
 (0)