-
Notifications
You must be signed in to change notification settings - Fork 8
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 get
function
#93
Fix get
function
#93
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @sunxd3 -- looks good. It seems some CI tests still fail from the DynamicPPL side. Are these failure still caused by AbstractPPL?
|
||
julia> get(nt, @varname(\$name.b.c[1])) | ||
1 | ||
Alias for `(PropertyLens{sym}() ⨟ getoptic(vn))(obj)`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is potentially hard to read.
@yebai thanks for taking a look. Regarding the errors in DynamicPPL, I am not sure what's causing the errors -- will take try to solve them tomorrow. The error that triggered this PR is resolved, I believe. |
Current:
Somehow the
PropertyLens{sym}()
was dropped during the transition toAccessors.jl
, sorry for the overlook.