You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So I modified lines 49-52 in src/SemiclassicalJacobiPolynomials.jl from (t,a,b,c) = map(big, map(float, (P.t,P.a,P.b,P.c))) to (t,a,b,c) = P.t, P.a, P.b, P.c. This was because otherwise I was not able to use ForwardDiff to take derivatives of various things in the tests for twoband.
This seems to be an issue in general, I think we definitely need to use BigFloats here. Is there a smart way to get ForwarDiff working even after mapping to BigFloats? Or should I just harcode the tests to not use ForwardDiff?
The text was updated successfully, but these errors were encountered:
So I modified lines 49-52 in src/SemiclassicalJacobiPolynomials.jl from
(t,a,b,c) = map(big, map(float, (P.t,P.a,P.b,P.c)))
to(t,a,b,c) = P.t, P.a, P.b, P.c
. This was because otherwise I was not able to use ForwardDiff to take derivatives of various things in the tests for twoband.This seems to be an issue in general, I think we definitely need to use BigFloats here. Is there a smart way to get ForwarDiff working even after mapping to BigFloats? Or should I just harcode the tests to not use ForwardDiff?
The text was updated successfully, but these errors were encountered: