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

Commit 61bcde0

Browse files
committed
add missing ()
1 parent 51cce64 commit 61bcde0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ext/SparseDiffToolsZygote.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ end
6868

6969
function SparseDiffTools.autoback_hesvec(f, x, v)
7070
g = x -> first(Zygote.gradient(f, x))
71-
y = Dual{typeof(ForwardDiff.Tag(DeivVecTag, eltype(x))), eltype(x), 1
71+
y = Dual{typeof(ForwardDiff.Tag(DeivVecTag(), eltype(x))), eltype(x), 1
7272
}.(x, ForwardDiff.Partials.(tuple.(reshape(v, size(x)))))
7373
ForwardDiff.partials.(g(y), 1)
7474
end

0 commit comments

Comments
 (0)