Skip to content

Conversation

@devmotion
Copy link
Member

This PR fixes #317 (tested also with DynamicPPL) but IMO it is the wrong fix. Instead one should apply esc only locally, wherever needed: currently definitions such as @non_differentiable Base.length(kwargs::AbstractVector) or @non_differentiable Base.length(rrule::AbstractVector) will lead to multiple arguments of the same name in the rrule and frule definitions.

@oxinabox
Copy link
Member

Cool I was about to make this PR.
the branch I am working on has tests.
and is identical to your changes to source so I am going to do mine instead.

I agree re: escaping.
and think we can do a follow up with that.

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.

UndefVarError: rrule not defined in 0.9.30

2 participants