We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99a9551 commit b9941cdCopy full SHA for b9941cd
test/autodiff.jl
@@ -109,7 +109,7 @@ f_sincos_jac(x) = [cos(x[i]) * (i == j ? 1 : 0) - sin(x[end-i+1]) * (i == (lengt
109
jac(x) = only(Enzyme.jacobian(Enzyme.Forward, f_sincos, x))
110
x_r = Reactant.to_rarray(rand(10))
111
112
- j_gt = f_sincos_jac(x_r)
+ j_gt = Reactant.@allowscalar f_sincos_jac(x_r)
113
j_reactant = Reactant.@jit jac(x_r)
114
115
@test j_reactant ≈ j_gt
0 commit comments