From 4293868c231230a643bd7a371bb7351becafa7e8 Mon Sep 17 00:00:00 2001 From: Xianda Sun <5433119+sunxd3@users.noreply.github.com> Date: Thu, 3 Oct 2024 23:50:34 +0800 Subject: [PATCH] Update docs/src/state_interface.md Co-authored-by: Hong Ge <3279477+yebai@users.noreply.github.com> --- docs/src/state_interface.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/state_interface.md b/docs/src/state_interface.md index a6f9032..c927459 100644 --- a/docs/src/state_interface.md +++ b/docs/src/state_interface.md @@ -8,7 +8,7 @@ LogDensityProblems.logdensity(logdensity_model::AbstractMCMC.LogDensityModel, st This function takes the logdensity model and the state, and returns the log probability of the state. If `recompute_logp` is `true`, it should recompute the log probability of the state. -Otherwise, it could use the log probability stored in the state. +Otherwise, if available, it will use the log probability stored in the state. ```julia Base.vec(state)