Skip to content

Commit 60df8f8

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

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
@@ -238,8 +238,8 @@ This constructor does not store/modify `y` or `x`.
238238
function JacobianConfig(f::F,
239239
y::AbstractArray{Y},
240240
x::AbstractArray{X},
241-
::Chunk{N},
242-
::T) where {F,Y,X,N,T}
241+
::Chunk{N} = Chunk(x),
242+
::T = Tag(f, X)) where {F,Y,X,N,T}
243243
seeds = construct_seeds(Partials{N,X})
244244
yduals = similar(y, Dual{T,Y,N})
245245
xduals = similar(x, Dual{T,X,N})

0 commit comments

Comments
 (0)