Skip to content

Commit 0b42bc6

Browse files
Update src/config.jl
1 parent 1903368 commit 0b42bc6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/config.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -212,8 +212,8 @@ This constructor does not store/modify `x`.
212212
"""
213213
function JacobianConfig(f::F,
214214
x::AbstractArray{V},
215-
::Chunk{N},
216-
::T) where {F,V,N,T}
215+
::Chunk{N} = Chunk(x),
216+
::T = Tag(f, V)) where {F,V,N,T}
217217
seeds = construct_seeds(Partials{N,V})
218218
duals = similar(x, Dual{T,V,N})
219219
return JacobianConfig{T,V,N,typeof(duals)}(seeds, duals)

0 commit comments

Comments
 (0)