Skip to content

Conversation

devmotion
Copy link
Member

Fixes #769 by adding and using a new valtype(::Type{T}, x) that returns typeof(value(T, x)).

The PR builds on #768 since the tests of valtype(::Type{T}, x) require the use of tag types (not instances as on master).

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.

ForwardDiff.gradient and ForwardDiff.jacobian don't handle functions with ForwardDiff.Dual output correctly
1 participant