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

Commit 8d40cd0

Browse files
fix typo
1 parent bf35ba4 commit 8d40cd0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/differentiation/compute_jacobian_ad.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ function ForwardColorJacCache(f,x,_chunksize = nothing;
3939
else
4040
tup = first(first(p)) .* false
4141
_pi = adapt.(typeof(dx),[tup for i in 1:length(dx)])
42-
fx = reshape(Dual{ForwardDiff.Tag(f,eltype(vec(x)))}.(vec(dx),pi),size(dx)...)
42+
fx = reshape(Dual{ForwardDiff.Tag(f,eltype(vec(x)))}.(vec(dx),_pi),size(dx)...)
4343
_dx = dx
4444
end
4545

0 commit comments

Comments
 (0)