Skip to content

Commit

Permalink
Update docs/src/state_interface.md
Browse files Browse the repository at this point in the history
Co-authored-by: Hong Ge <[email protected]>
  • Loading branch information
sunxd3 and yebai authored Oct 3, 2024
1 parent 076e431 commit 4293868
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/state_interface.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 4293868

Please sign in to comment.