Skip to content

Commit 92ac6b9

Browse files
committed
fix docs
1 parent 1faa627 commit 92ac6b9

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

docs/src/api.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ These statements are rewritten by `@model` as calls of [internal functions](@ref
1717
One can nest models and call another model inside the model function with `left ~ returned(model)`.
1818

1919
```@docs
20-
returned(model)
20+
returned(::DynamicPPL.Model)
2121
```
2222

2323
In the past, one would instead embed sub-models using [`@submodel`](@ref), which has been deprecated since the introduction of [`returned(model)`](@ref)
@@ -133,7 +133,7 @@ It is possible to manually increase (or decrease) the accumulated log density fr
133133
Return values of the model function for a collection of samples can be obtained with [`returned(model, chain)`](@ref).
134134

135135
```@docs
136-
returned(model, chain)
136+
returned(::DynamicPPL.Model, ::NamedTuple)
137137
```
138138

139139
For a chain of samples, one can compute the pointwise log-likelihoods of each observed random variable with [`pointwise_loglikelihoods`](@ref). Similarly, the log-densities of the priors using

src/DynamicPPL.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,6 @@ export AbstractVarInfo,
129129
value_iterator_from_chain,
130130
check_model,
131131
check_model_and_trace,
132-
to_sampleable,
133132
# Deprecated.
134133
@logprob_str,
135134
@prob_str,

0 commit comments

Comments
 (0)