From e7e2870a096b810e7637fb25a8eea57c0320c164 Mon Sep 17 00:00:00 2001 From: Xianda Sun Date: Tue, 1 Oct 2024 21:04:35 +0100 Subject: [PATCH] fix more doc example error --- docs/src/state_interface.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/src/state_interface.md b/docs/src/state_interface.md index 299001c..782f5bf 100644 --- a/docs/src/state_interface.md +++ b/docs/src/state_interface.md @@ -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