-
Notifications
You must be signed in to change notification settings - Fork 53
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
add ForwardDiff support as weak dependency? #349
Comments
Yes, thanks for pointing this out! |
I thought this was as straightforward as setting up this
But I get an error when trying it out:
Do you have any insight into how to leverage the |
Some quick comments:
|
Thanks! That is super helpful. |
In #352 I have an implementation that seems to work. I couldn't figure out how to leverage the |
* WIP * WIP * Add extension for ForwardDiff * Update ext/RootsForwardDiffExt.jl Co-authored-by: David Widmann <devmotion@users.noreply.github.com> * Update ext/RootsForwardDiffExt.jl Co-authored-by: David Widmann <devmotion@users.noreply.github.com> * Update ext/RootsForwardDiffExt.jl Co-authored-by: David Widmann <devmotion@users.noreply.github.com> * Update ext/RootsForwardDiffExt.jl Co-authored-by: David Widmann <devmotion@users.noreply.github.com> * cleanup * add keyword parameter test * only weakdep; thx! * cleanup --------- Co-authored-by: David Widmann <devmotion@users.noreply.github.com>
Now that there is support for weak dependencies. adding ForwardDiff support seems viable. this could directly use the already available definition of
ChainRulesCore.frule
present on the packageThe text was updated successfully, but these errors were encountered: