Skip to content

Commit a3115b5

Browse files
committed
fix: set within_autodiff
1 parent 8731c7f commit a3115b5

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)