Skip to content

Commit 1de7fed

Browse files
committed
Add HISTORY entry about del
1 parent 8f74cd0 commit 1de7fed

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

HISTORY.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,10 @@ Other functions such as `tilde_assume` and `assume` (and their `observe` counter
5050
Note that this was effectively already the case in DynamicPPL 0.37 (where they were just wrappers around each other).
5151
The separation of these functions was primarily implemented to avoid performing extra work where unneeded (e.g. to not calculate the log-likelihood when `PriorContext` was being used). This functionality has since been replaced with accumulators (see the 0.37 changelog for more details).
5252

53+
### Removal of the `"del"` flag
54+
55+
Previously `VarInfo` (or more correctly, the `Metadata` object within a `VarInfo`), had a flag called `"del"` for all variables. If it was set to `true` the variable was to be overwritten with a new value at the next evaluation. The new `InitContext` and related changes above make this flag unnecessary, and it has been removed.
56+
5357
**Other changes**
5458

5559
### Reimplementation of functions using `InitContext`

0 commit comments

Comments
 (0)