Open ZhangFengshun opened 3 weeks ago
See https://github.com/JuliaMath/QuadGK.jl/issues/13#issuecomment-1430408697
A workaround is probably to define:
QuadGK.cachedrule(::Type{<:ForwardDiff{<:Any, T}}, n::Integer) where {T<:Number} =
QuadGK._cachedrule(typeof(float(real(one(T)))), Int(n))