Skip to content

Commit 83add24

Browse files
committed
note init breaking change
1 parent 40ac87d commit 83add24

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

HISTORY.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ You should not need to use these directly, please use `AbstractPPL.condition` an
2121

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

24+
The method `DynamicPPL.init` (for implementing `AbstractInitStrategy`) now has a different signature: it must return an `InitValue` struct, which holds both a value as well as a transform function that maps it back to unlinked space.
25+
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).
26+
2427
### Other changes
2528

2629
#### FastLDF

0 commit comments

Comments
 (0)