Skip to content

Commit ddb588c

Browse files
torfjeldesunxd3
andauthored
Update docs/src/api.md
Co-authored-by: Xianda Sun <[email protected]>
1 parent 3f861bf commit ddb588c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

docs/src/api.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,6 @@ To implement the state, we need to keep track of a couple of things:
142142
We need to keep track of the states of _all_ components rather than just the state for the sampler we used previously.
143143
The reason is that lots of samplers keep track of more than just the previous realizations of the variables, e.g. in `AdvancedHMC.jl` we keep track of the momentum used, the metric used, etc.
144144

145-
For (2) the reason is similar: some samplers might keep track of the variables _in the state_ differently, e.g. you might have a sampler which is _independent_ of the current realizations and the state is simply `nothing`.
146145

147146
```julia
148147
struct MixtureState{S}

0 commit comments

Comments
 (0)