Skip to content

Commit

Permalink
potential typo fix (#605)
Browse files Browse the repository at this point in the history
  • Loading branch information
sunxd3 authored May 13, 2024
1 parent 5b53be7 commit 48487cc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/model.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1053,7 +1053,7 @@ Base.rand(model::Model) = rand(Random.default_rng(), NamedTuple, model)
Return the log joint probability of variables `varinfo` for the probabilistic `model`.
See [`logjoint`](@ref) and [`loglikelihood`](@ref).
See [`logprior`](@ref) and [`loglikelihood`](@ref).
"""
function logjoint(model::Model, varinfo::AbstractVarInfo)
return getlogp(last(evaluate!!(model, varinfo, DefaultContext())))
Expand Down
2 changes: 1 addition & 1 deletion src/simple_varinfo.jl
Original file line number Diff line number Diff line change
Expand Up @@ -575,7 +575,7 @@ end
Return the log joint probability of variables `θ` for the probabilistic `model`.
See [`logjoint`](@ref) and [`loglikelihood`](@ref).
See [`logprior`](@ref) and [`loglikelihood`](@ref).
# Examples
```jldoctest; setup=:(using Distributions)
Expand Down

0 comments on commit 48487cc

Please sign in to comment.