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?
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?