diff --git a/src/Enzyme.jl b/src/Enzyme.jl index 2e8643744b..64f6c0be20 100644 --- a/src/Enzyme.jl +++ b/src/Enzyme.jl @@ -451,10 +451,10 @@ Enzyme.autodiff(ReverseWithPrimal, x->x*x, Active(3.0)) # compute the correct complex derivative in reverse mode by propagating the conjugate return values # then subtracting twice the imaginary component to get the correct result - for (k, v) in seen + for (k, (v,)) in seen Compiler.recursive_accumulate(k, v, refn_seed) end - for (k, v) in seen2 + for (k, (v,)) in seen2 Compiler.recursive_accumulate(k, v, imfn_seed) end