Skip to content
This repository was archived by the owner on Aug 25, 2025. It is now read-only.

Commit 40887e8

Browse files
authored
Update OptimizationEnzymeExt.jl
1 parent 917b21b commit 40887e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/OptimizationEnzymeExt.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ function OptimizationBase.instantiate_function(f::OptimizationFunction{true}, x,
176176

177177
Enzyme.autodiff(fmode,
178178
inner_grad,
179-
Const(rmode)
179+
Const(rmode),
180180
Enzyme.BatchDuplicated(θ, vdθ),
181181
Enzyme.BatchDuplicatedNoNeed(G, vdbθ),
182182
Const(f.f),

0 commit comments

Comments
 (0)