v0.38.3
DynamicPPL v0.38.3
Add an implementation of returned(::Model, ::AbstractDict{<:VarName}).
Please note that although the NamedTuple method still exists, we generally recommend using Dict, as NamedTuples cannot correctly represent variables with indices / fields on the left-hand side of tildes, like x[1] or x.a.
The generic method returned(::Model, values, keys) is deprecated and will be removed in the next minor version.
Merged pull requests:
- Add
to_chainsandfrom_chainsfunction (#1087) (@penelopeysm) - Revert "Add
to_chainsandfrom_chainsfunction (#1087)" (#1093) (@penelopeysm) - tidy integration test workflow (#1094) (@penelopeysm)
- Implement
returnedfor AbstractDict; deprecate {values, keys} method (#1096) (@penelopeysm)
Closed issues: