The Enzyme extension only implements reverse rules for integrands whose activity is Union{Const,Active}. In my problem, the integrand wraps an ApproxFun.jl Chebyshev interpolant specified by a Const function space and Duplicated coefficients, hence the closure ends up having MixedDuplicated activity, so Enzyme throws an error when trying to differentiate the QuadGK call. Support for this would be hugely appreciated!
cc @wsmoses
Brb with an MWE/test case
The Enzyme extension only implements reverse rules for integrands whose activity is
Union{Const,Active}. In my problem, the integrand wraps an ApproxFun.jl Chebyshev interpolant specified by aConstfunction space andDuplicatedcoefficients, hence the closure ends up havingMixedDuplicatedactivity, so Enzyme throws an error when trying to differentiate the QuadGK call. Support for this would be hugely appreciated!cc @wsmoses
Brb with an MWE/test case