Skip to content

Commit 939a75f

Browse files
fix default
1 parent 70e7d82 commit 939a75f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/jacobians.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ function JacobianCache(
5959
fx ,
6060
fx1,
6161
fdtype :: Type{T1} = Val{:central},
62-
returntype :: Type{T2} = eltype(x),
62+
returntype :: Type{T2} = eltype(fx),
6363
inplace :: Type{Val{T3}} = Val{true}) where {T1,T2,T3}
6464

6565
if fdtype==Val{:complex}

0 commit comments

Comments
 (0)