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

Commit c9b6dca

Browse files
Update ext/OptimizationEnzymeExt.jl
1 parent 9130204 commit c9b6dca

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
@@ -246,7 +246,7 @@ function OptimizationBase.instantiate_function(f::OptimizationFunction{true}, x,
246246
Enzyme.make_zero!(bf)
247247
end
248248
end
249-
Enzyme.autodiff(fmode, basfunc, BatchDuplicated(y, Jaccache),
249+
Enzyme.autodiff(fmode, basefunc , BatchDuplicated(y, Jaccache),
250250
BatchDuplicated(θ, seeds), Const(p))
251251
for i in eachindex(θ)
252252
if J isa Vector

0 commit comments

Comments
 (0)