Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix deprecation of dtc #380

Merged
merged 3 commits into from
Sep 25, 2023
Merged

fix deprecation of dtc #380

merged 3 commits into from
Sep 25, 2023

Conversation

st--
Copy link
Member

@st-- st-- commented Sep 23, 2023

The deprecations in #361 had one flaw: previously,

dtc(VFE(fz), fx, y)

was technically correct (though it would have been better form to use the DTC alias defined as const DTC = VFE instead).

However, the deprecations passed this on to approx_log_evidence, which then would just compute the VFE ELBO.

This PR catches this special case.

@codecov
Copy link

codecov bot commented Sep 23, 2023

Codecov Report

Patch coverage is 100.00% of modified lines.

Files Changed Coverage
src/deprecations.jl 100.00%

📢 Thoughts on this report? Let us know!.

@st-- st-- merged commit 6becdc2 into master Sep 25, 2023
12 checks passed
@st-- st-- deleted the st/fix_deprecation branch September 25, 2023 19:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants