Skip to content

Commit

Permalink
fix more doc example error
Browse files Browse the repository at this point in the history
  • Loading branch information
sunxd3 committed Oct 1, 2024
1 parent bdba893 commit e7e2870
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/src/state_interface.md
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,8 @@ end
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.

```@example gibbs_example
abstract type AbstractMHSampler <: AbstractMCMC.AbstractSampler end
"""
RandomWalkMH{T} <: AbstractMCMC.AbstractSampler
Expand Down

0 comments on commit e7e2870

Please sign in to comment.