-
Notifications
You must be signed in to change notification settings - Fork 31
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
backing error when nesting forward-mode #133
Comments
So I believe the cause of this is that Here is a simpler case that triggers it without nesting AD struct Foo
x
y
end
foo_dub(x) = Foo(x, 2x)
dz = Diffractor.∂☆{1}()(Diffractor.ZeroBundle{1}(foo_dub), Diffractor.TaylorBundle{1}(10.0, (1.0,)))
Diffractor.first_partial(dz) erroring with
|
Fixed by #137 |
Here is a trivial example of nested forwards mode
Here is the output from running that:
I am not sure how we should handle this.
I suspect it is possible to rewrite some (maybe all?) case to do
∂☆{2}
but I would need to do some thinking.
we definately shouldn't be just erroring though.
The text was updated successfully, but these errors were encountered: