-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
So I suspect this is an expected behavior, but not sure how to get around it though
using ClassicalOrthogonalPolynomials
using ForwardDiff
x = chebyshevpoints(Float64, 100, Val(1))
p = plan_transform(Legendre(), x, 1)
T = x-> p*x
JG = ForwardDiff.jacobian(T, x) #error
spits out
ERROR: MethodError: no method matching Float64(::ForwardDiff.Dual{ForwardDiff.Tag{var"#15#16", Float64}, Float64, 10})
The type `Float64` exists, but no method is defined for this combination of argument types when trying to construct it.
Metadata
Metadata
Assignees
Labels
No labels