Skip to content

Commit fb09091

Browse files
add function call back
1 parent 3075f85 commit fb09091

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Project.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "SparseDiffTools"
22
uuid = "47a9eef4-7e08-11e9-0b38-333d64bd3804"
33
authors = ["Pankaj Mishra <[email protected]>", "Chris Rackauckas <[email protected]>"]
4-
version = "1.16.0"
4+
version = "1.16.1"
55

66
[deps]
77
Adapt = "79e6a3ab-5dfb-504d-930d-738a2a938a0e"

src/differentiation/compute_jacobian_ad.jl

+2
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ getsize(::Val{N}) where N = N
1212
getsize(N::Integer) = N
1313
void_setindex!(args...) = (setindex!(args...); return)
1414

15+
const default_chunk_size = ForwardDiff.pickchunksize
16+
1517
function ForwardColorJacCache(f,x,_chunksize = nothing;
1618
dx = nothing,
1719
colorvec=1:length(x),

0 commit comments

Comments
 (0)