Skip to content

Commit 325684e

Browse files
committed
note init breaking change
1 parent a4c71e6 commit 325684e

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
@@ -6,6 +6,9 @@
66

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

9+
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.
10+
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).
11+
912
### Other changes
1013

1114
#### FastLDF

0 commit comments

Comments
 (0)