Skip to content
This repository was archived by the owner on Aug 22, 2025. It is now read-only.

Commit 8709ab9

Browse files
Merge pull request #224 from tmigot/fix-readme
Replace `ColoringAlgorithm` by `SparseDiffToolsColoringAlgorithm` in readme
2 parents e7150bf + 5ef4c1e commit 8709ab9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ this can be significant savings.
128128
The API for computing the colorvec vector is:
129129

130130
```julia
131-
matrix_colors(A::AbstractMatrix,alg::ColoringAlgorithm = GreedyD1Color();
131+
matrix_colors(A::AbstractMatrix,alg::SparseDiffToolsColoringAlgorithm = GreedyD1Color();
132132
partition_by_rows::Bool = false)
133133
```
134134

@@ -350,4 +350,4 @@ HesVecGrad(g,x::AbstractArray;autodiff=false)
350350
These all have the same interface, where `J*v` utilizes the out-of-place
351351
Jacobian-vector or Hessian-vector function, whereas `mul!(res,J,v)` utilizes
352352
the appropriate in-place versions. To update the location of differentiation
353-
in the operator, simply mutate the vector `u`: `J.u .= ...`.
353+
in the operator, simply mutate the vector `u`: `J.u .= ...`.

0 commit comments

Comments
 (0)