Skip to content

Commit edf4e74

Browse files
committed
Add a changelog
1 parent 62cd3af commit edf4e74

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

HISTORY.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,14 @@ You should not need to use these directly, please use `AbstractPPL.condition` an
3232

3333
Removed the method `returned(::Model, values, keys)`; please use `returned(::Model, ::AbstractDict{<:VarName})` instead.
3434

35+
The unexported functions `supports_varname_indexing(chain)`, `getindex_varname(chain)`, and `varnames(chain)` have been removed.
36+
3537
The method `DynamicPPL.init` (for implementing `AbstractInitStrategy`) now has a different signature: it must return a tuple of the generated value, plus a transform function that maps it back to unlinked space.
3638
This is a generalisation of the previous behaviour, where `init` would always return an unlinked value (in effect forcing the transform to be the identity function).
3739

40+
The family of functions `returned(model, chain)`, along with the same signatures of `pointwise_logdensities`, `logjoint`, `loglikelihood`, and `logprior`, have been changed such that if the chain does not contain all variables in the model, an error is thrown.
41+
Previously the behaviour would have been to sample missing variables.
42+
3843
## 0.38.9
3944

4045
Remove warning when using Enzyme as the AD backend.

0 commit comments

Comments
 (0)