Skip to content

Commit 2a4d0f2

Browse files
committed
fix: set within_autodiff
1 parent 0cd69ad commit 2a4d0f2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Enzyme.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -314,6 +314,7 @@ function overload_autodiff(
314314
argprefix,
315315
resprefix,
316316
resargprefix,
317+
within_autodiff=true,
317318
)
318319
(; result, linear_args, in_tys, linear_results) = mlir_fn_res
319320
fnwrap = mlir_fn_res.fnwrapped

0 commit comments

Comments
 (0)