From 1cd8868077f3e7220efd9bb1830a6e40e4e725d0 Mon Sep 17 00:00:00 2001 From: Penelope Yong Date: Wed, 19 Mar 2025 22:12:41 +0000 Subject: [PATCH] Add a changelog entry for 0.35.4 --- HISTORY.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/HISTORY.md b/HISTORY.md index b5c6b2e18..67e5801a1 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -1,5 +1,13 @@ # DynamicPPL Changelog +## 0.35.4 + +Fixed a type instability in an implementation of `with_logabsdet_jacobian`, which resulted in the log-jacobian returned being an Int in some cases and a Float in others. +This resolves an Enzyme.jl error on a number of models. +More generally, this version also changes the type of various log probabilities to be more consistent with one another. +Although we aren't fully there yet, our eventual aim is that log probabilities will generally default to Float64 on 64-bit systems, and Float32 on 32-bit systems. +If you run into any issues with these types, please get in touch. + ## 0.35.3 `model | (@varname(x) => 1.0, @varname(y) => 2.0)` now works.