Skip to content

Commit e1b70e0

Browse files
committed
Docs fixes
1 parent 1dbcb2c commit e1b70e0

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

docs/src/api.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -328,9 +328,9 @@ The following functions were used for sequential Monte Carlo methods.
328328

329329
```@docs
330330
get_num_produce
331-
set_num_produce!
332-
increment_num_produce!
333-
reset_num_produce!
331+
set_num_produce!!
332+
increment_num_produce!!
333+
reset_num_produce!!
334334
setorder!
335335
set_retained_vns_del!
336336
```
@@ -431,8 +431,6 @@ Contexts are subtypes of `AbstractPPL.AbstractContext`.
431431
```@docs
432432
SamplingContext
433433
DefaultContext
434-
LikelihoodContext
435-
PriorContext
436434
PrefixContext
437435
ConditionContext
438436
```
@@ -477,9 +475,10 @@ DynamicPPL.Experimental.is_suitable_varinfo
477475
### [Model-Internal Functions](@id model_internal)
478476

479477
```@docs
478+
tilde_assume!!
480479
tilde_assume
481480
```
482481

483482
```@docs
484-
tilde_observe
483+
tilde_observe!!
485484
```

src/contexts.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,8 +192,8 @@ getsampler(::IsLeaf, ::AbstractContext) = error("No sampler found in context")
192192
"""
193193
struct DefaultContext <: AbstractContext end
194194
195-
The `DefaultContext` is used by default to compute the log joint probability of the data
196-
and parameters when running the model.
195+
The `DefaultContext` is used by default to accumulate values like the log joint probability
196+
when running the model.
197197
"""
198198
struct DefaultContext <: AbstractContext end
199199
NodeTrait(::DefaultContext) = IsLeaf()

0 commit comments

Comments
 (0)