Skip to content

Commit 701b096

Browse files
update README
1 parent 4cec56e commit 701b096

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
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 = "0.2.0"
4+
version = "0.3.0"
55

66
[deps]
77
BandedMatrices = "aae01518-5342-5314-be14-df237901396f"

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,8 @@ forwarddiff_color_jacobian!(J::AbstractMatrix{<:Number},
159159
f,
160160
x::AbstractArray{<:Number};
161161
dx = nothing,
162-
color = eachindex(x))
162+
color = eachindex(x),
163+
sparsity = nothing)
163164
```
164165

165166
This call wiil allocate the cache variables each time. To avoid allocating the
@@ -168,7 +169,8 @@ cache, construct the cache in advance:
168169
```julia
169170
ForwardColorJacCache(f,x,_chunksize = nothing;
170171
dx = nothing,
171-
color=1:length(x))
172+
color=1:length(x),
173+
sparsity = nothing)
172174
```
173175

174176
and utilize the following signature:

0 commit comments

Comments
 (0)