Skip to content

Conversation

@devmotion
Copy link
Member

This PR shows how one could replace the macros @varinfo, @logpdf, and @sampler with internal names that can be accessed by users in the model definition (see #69 (comment)).

It supersedes #64.

@codecov
Copy link

codecov bot commented Apr 15, 2020

Codecov Report

Merging #71 into master will decrease coverage by 0.26%.
The diff coverage is 92.85%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #71      +/-   ##
==========================================
- Coverage   76.43%   76.16%   -0.27%     
==========================================
  Files          13       13              
  Lines         853      835      -18     
==========================================
- Hits          652      636      -16     
+ Misses        201      199       -2     
Impacted Files Coverage Δ
src/DynamicPPL.jl 100.00% <ø> (ø)
src/compiler.jl 78.62% <92.85%> (-1.24%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9be5881...ce44402. Read the comment docs.

Copy link
Member

@yebai yebai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks @devmotion! LGTM.

@mohamed82008 This PR contains a potentially breaking change to internal variable names (e.g. vi, ctx etc).

@yebai yebai merged commit 581be52 into master Apr 15, 2020
@delete-merged-branch delete-merged-branch bot deleted the internal branch April 15, 2020 15:06
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.

3 participants